Class NodeInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class NodeInfo
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • NodeInfo

        public NodeInfo()
      • NodeInfo

        public NodeInfo​(NodeInfo copy)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getHttpAddresses

        public java.util.List<HttpURL> getHttpAddresses()
        The list of HttpURLs that this gateway can be reached at.
      • setHttpAddresses

        public void setHttpAddresses​(java.util.List<HttpURL> httpAddresses)
      • getAddress

        public java.lang.String getAddress()
        The address of the node. In general, some sort of identifier that separates this node from other nodes.
      • setAddress

        public void setAddress​(java.lang.String address)
      • getVersion

        public Version getVersion()
      • setVersion

        public void setVersion​(Version version)
      • setActivityLevel

        public void setActivityLevel​(ActivityLevel level)
      • getActiveTime

        public long getActiveTime()
      • setActiveTime

        public void setActiveTime​(long activeTime)
      • setProjectState

        public void setProjectState​(ProjectState projState)
      • 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)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object