Class CloudSession.StateFlushTick

java.lang.Object
com.ultikits.ultitools.utils.CloudSession.StateFlushTick
All Implemented Interfaces:
Runnable
Enclosing class:
CloudSession

private final class CloudSession.StateFlushTick extends Object implements Runnable
One 30 s tick (D-15). Runs on the agent thread and therefore takes only the state store's write lock -- never this session's monitor (S-37) -- so a flush under the session monitor, in CloudSession.invalidate(), cannot deadlock with it. It keeps re-arming itself for as long as this session still holds the store it was created for; a discarded identity nulls that field, which ends the chain.