Class RestNode


  • @Immutable
    public class RestNode
    extends Object
    • Constructor Detail

      • RestNode

        public RestNode()
      • RestNode

        public RestNode​(String nodeId,
                        String nodeName,
                        Date lastHeartbeat,
                        String hostname,
                        int port,
                        boolean primary,
                        boolean alive)
    • Method Detail

      • getNodeId

        public String getNodeId()
      • getNodeName

        public String getNodeName()
      • getLastHeartbeat

        public Date getLastHeartbeat()
      • getHostname

        public String getHostname()
      • getPort

        public int getPort()
      • isPrimary

        public boolean isPrimary()
      • isAlive

        public boolean isAlive()