|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SessionCache.StaleCacheListener
Observer pattern used to clear the blocked
SessionCache#needsUpdate
state, which prevents all further calls
from happening.
Method Summary | |
---|---|
void |
prepareReload()
Called once before all the reload methods are called to push out the current state to database and trigger any exceptions as the current user. |
SessionContext |
reload(SessionContext context)
Method called for every active session in the cache. |
Method Detail |
---|
void prepareReload()
SessionContext reload(SessionContext context)
SessionContext
will be used to replace the current one.
Any runtime exception can be thrown to show that an update is not
possible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.