Class GCloudSessionDataStore.ExpiryInfo

  • Enclosing class:
    GCloudSessionDataStore

    public static class GCloudSessionDataStore.ExpiryInfo
    extends java.lang.Object
    ExpiryInfo Information related to session expiry
    • Constructor Summary

      Constructors 
      Constructor Description
      ExpiryInfo​(java.lang.String id, java.lang.String lastNode, long expiry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getExpiry()  
      java.lang.String getId()  
      java.lang.String getLastNode()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExpiryInfo

        public ExpiryInfo​(java.lang.String id,
                          java.lang.String lastNode,
                          long expiry)
        Parameters:
        id - session id
        lastNode - last node id to manage the session
        expiry - timestamp of expiry
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        the id
      • getLastNode

        public java.lang.String getLastNode()
        Returns:
        the lastNode
      • getExpiry

        public long getExpiry()
        Returns:
        the expiry time