Interface ServerNode

  • public interface ServerNode

    Contains information about the server and its sessions.

    An instance of ServerNode is passed to the Authenticator in its initialise method. This can then be used at a later time to obtain the current server session count and the maximum session count the server supports. The server identifier is also available via the getIdentifier() method.

    • Method Detail

      • getIdentifier

        java.lang.String getIdentifier()
        A string identifying the server node.
        the server node identifier
      • getCurrentSessionCount

        int getCurrentSessionCount()
        The current count of active sessions in the server.
        the count of current sessions in the server
      • getMaxSessionCount

        int getMaxSessionCount()
        The maximum sessions supported by the server licence.
        the maximum number of supported sessions
      • getDataCache

        DataCache getDataCache()
        Get the DataCache, through which objects can be created and deleted in the Liberator's object cache.
        an interface to the Liberator's object cache.