Class ClusterHost

java.lang.Object
org.pidome.server.services.cluster.ClusterHost

public class ClusterHost extends Object
Class providing host information.
  • Constructor Details

    • ClusterHost

      public ClusterHost()
  • Method Details

    • getHostIdentification

      public HostIdentification getHostIdentification()
      Returns:
      the nodeId
    • setHostIdentification

      public void setHostIdentification(HostIdentification hostIdentification)
      Set the host identification.
      Parameters:
      hostIdentification - The host identification to set.
    • getServerIp

      public String getServerIp()
      Returns:
      the serverIp
    • setServerIp

      protected void setServerIp(String serverIp)
      Parameters:
      serverIp - the serverIp to set
    • getServerName

      public String getServerName()
      Returns:
      the serverName
    • setServerName

      protected void setServerName(String serverName)
      Parameters:
      serverName - the serverName to set.
    • getVersion

      public ClusterHost.ServerVersion getVersion()
      Returns:
      the version
    • setVersion

      protected void setVersion(ClusterHost.ServerVersion version)
      Parameters:
      version - the version to set
    • getMode

      public ClusterMode getMode()
      Returns:
      the mode
    • setMode

      protected void setMode(ClusterMode mode)
      Parameters:
      mode - the mode to set
    • getPlatform

      public ClusterHost.PlatformInfo getPlatform()
      Returns:
      the platform
    • setPlatform

      protected void setPlatform(ClusterHost.PlatformInfo platform)
      Parameters:
      platform - the platform to set