Class NodeInfo
java.lang.Object
com.inductiveautomation.ignition.gateway.cluster.NodeInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongThe address of the node.The list of HttpURLs that this gateway can be reached at.longA single hashed number that represents modules and their versions.booleanvoidsetActiveMode(String activeMode) voidsetActiveTime(long activeTime) voidsetActivityLevel(ActivityLevel level) voidsetAddress(String address) voidsetEdition(PlatformEdition edition) voidsetHttpAddresses(List<HttpURL> httpAddresses) voidsetModuleHash(long moduleHash) voidsetProjectState(ProjectState projState) voidsetUseAdvisor(boolean useAdvisor) voidsetVersion(Version version) toString()
-
Constructor Details
-
NodeInfo
public NodeInfo() -
NodeInfo
-
-
Method Details
-
toString
-
getHttpAddresses
-
setHttpAddresses
-
getAddress
The address of the node. In general, some sort of identifier that separates this node from other nodes. -
setAddress
-
getVersion
-
setVersion
-
getActivityLevel
-
setActivityLevel
-
getActiveTime
public long getActiveTime() -
setActiveTime
public void setActiveTime(long activeTime) -
getProjectState
-
setProjectState
-
getModuleHash
public long getModuleHash()A single hashed number that represents modules and their versions. If these do not match between the master and the backup, we know that they are incompatible. Note that a hash of value "0" indicates a dev version. -
setModuleHash
public void setModuleHash(long moduleHash) -
getActiveMode
- Returns:
- The active deployment mode of the node. If no mode is active, will return an empty string.
-
setActiveMode
-
getEdition
- Returns:
- The Platform edition of the node. "Standard" will be an empty string.
-
setEdition
-
isUseAdvisor
public boolean isUseAdvisor()- Returns:
- Whether this node is configured to use an advisor.
-
setUseAdvisor
public void setUseAdvisor(boolean useAdvisor) -
equals
-