Package org.keycloak.cluster.infinispan
Class DatabaseClusterEventPollerTask
java.lang.Object
org.keycloak.cluster.infinispan.DatabaseClusterEventPollerTask
- All Implemented Interfaces:
KeycloakSessionTask,ScheduledTask
Polls the CLUSTER_EVENT database table for events addressed to this cluster,
replays them into the local Infinispan work cache, and deletes the consumed rows.
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseClusterEventPollerTask(String clusterName, org.infinispan.commons.marshall.Marshaller marshaller) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.timer.ScheduledTask
getTaskName
-
Constructor Details
-
DatabaseClusterEventPollerTask
public DatabaseClusterEventPollerTask(String clusterName, org.infinispan.commons.marshall.Marshaller marshaller)
-
-
Method Details
-
run
- Specified by:
runin interfaceKeycloakSessionTask
-