Class SessionLoader.WorkerContext
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.initializer.SessionLoader.WorkerContext
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OfflinePersistentWorkerContext
- Enclosing interface:
- SessionLoader<LOADER_CONTEXT extends SessionLoader.LoaderContext,WORKER_CONTEXT extends SessionLoader.WorkerContext,WORKER_RESULT extends SessionLoader.WorkerResult>
public static class SessionLoader.WorkerContext extends Object implements Serializable
Object, which is computed before each worker iteration and contains some data to be used by the corresponding worker iteration. For example info about which segment/page should be loaded by current worker.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkerContext(int segment, int workerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSegment()
int
getWorkerId()
-