Package 

Interface SessionStore


  • 
    public interface SessionStore
    
                        

    Persistence for the current session id and the time of the last event.

    • Method Summary

      Modifier and Type Method Description
      abstract void save(String sessionId, long lastEventTime) Saves the session state.
      abstract String loadSessionId()
      abstract long loadLastEventTime()
      • Methods inherited from class java.lang.Object

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

      • save

         abstract void save(String sessionId, long lastEventTime)

        Saves the session state.

        Parameters:
        sessionId - UUID v7 session id, or empty when the session is invalidated
        lastEventTime - last event time in epoch milliseconds