Class PersistentSessionsWorker
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.PersistentSessionsWorker
Run one thread per session type and drain the queues once there is an entry. Will batch entries if possible.
- Author:
- Alexander Schwartz
-
Constructor Summary
ConstructorDescriptionPersistentSessionsWorker
(KeycloakSessionFactory factory, ArrayBlockingQueue<PersistentUpdate> asyncQueuePersistentUpdate, int maxBatchSize) -
Method Summary
-
Constructor Details
-
PersistentSessionsWorker
public PersistentSessionsWorker(KeycloakSessionFactory factory, ArrayBlockingQueue<PersistentUpdate> asyncQueuePersistentUpdate, int maxBatchSize)
-
-
Method Details
-
start
public void start() -
stop
public void stop()
-