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
 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 returned SessionContext will be used to replace the current one. Any runtime exception can be thrown to show that an update is not possible.



OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.