Interface SessionCache.StaleCacheListener

  • All Known Implementing Classes:
    SessionManagerImpl
    Enclosing class:
    SessionCache

    public static interface SessionCache.StaleCacheListener
    Observer pattern used to refresh sessions in doUpdate.
    • Method Detail

      • reload

        SessionContext reload​(SessionContext context)
        Method called for every active session in the cache. The returned SessionContext will be used to replace the current one. Any runtime exception can be thrown to show that an update is not possible.