Class NodeOptions


  • public class NodeOptions
    extends java.lang.Object
    • Field Detail

      • DEFAULT_MAX_SESSIONS

        public static final int DEFAULT_MAX_SESSIONS
      • DEFAULT_HEARTBEAT_PERIOD

        public static final int DEFAULT_HEARTBEAT_PERIOD
        See Also:
        Constant Field Values
      • DEFAULT_SESSION_TIMEOUT

        public static final int DEFAULT_SESSION_TIMEOUT
        See Also:
        Constant Field Values
      • DEFAULT_DRAIN_AFTER_SESSION_COUNT

        public static final int DEFAULT_DRAIN_AFTER_SESSION_COUNT
        See Also:
        Constant Field Values
    • Constructor Detail

      • NodeOptions

        public NodeOptions​(Config config)
    • Method Detail

      • getPublicGridUri

        public java.util.Optional<java.net.URI> getPublicGridUri()
      • getNode

        public Node getNode()
      • getRegisterCycle

        public java.time.Duration getRegisterCycle()
      • getRegisterPeriod

        public java.time.Duration getRegisterPeriod()
      • getHeartbeatPeriod

        public java.time.Duration getHeartbeatPeriod()
      • getMaxSessions

        public int getMaxSessions()
      • getSessionTimeout

        public java.time.Duration getSessionTimeout()
      • isCdpEnabled

        public boolean isCdpEnabled()
      • getDrainAfterSessionCount

        public int getDrainAfterSessionCount()