Package ome.services.sessions.state
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionContext
reload(SessionContext context)
Method called for every active session in the cache.
-
-
-
Method Detail
-
reload
SessionContext reload(SessionContext context)
Method called for every active session in the cache. The returnedSessionContext
will be used to replace the current one. Any runtime exception can be thrown to show that an update is not possible.
-
-