Package com.ultikits.ultitools.utils
Class CloudSession.StateFlushTick
java.lang.Object
com.ultikits.ultitools.utils.CloudSession.StateFlushTick
- All Implemented Interfaces:
Runnable
- Enclosing class:
CloudSession
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.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ScheduledExecutorServiceprivate final Stringprivate final CloudStateStore -
Constructor Summary
ConstructorsConstructorDescriptionStateFlushTick(CloudStateStore store, String serverId, ScheduledExecutorService executor) -
Method Summary
-
Field Details
-
store
-
serverId
-
executor
-
-
Constructor Details
-
StateFlushTick
StateFlushTick(CloudStateStore store, String serverId, ScheduledExecutorService executor)
-
-
Method Details