Class FixedSessionIdProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getNextSessionID()
      Provide the next sessionID All positive integers greater than 0 can be used as sessionID
      • Methods inherited from class java.lang.Object

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

      • FixedSessionIdProvider

        public FixedSessionIdProvider​(SessionIDProvider sessionIDProvider)
    • Method Detail

      • getNextSessionID

        public int getNextSessionID()
        Description copied from interface: SessionIDProvider
        Provide the next sessionID All positive integers greater than 0 can be used as sessionID
        Specified by:
        getNextSessionID in interface SessionIDProvider
        Returns:
        the id that will be used for the next session