Class DatabaseClusterEventPollerTask

java.lang.Object
org.keycloak.cluster.infinispan.DatabaseClusterEventPollerTask
All Implemented Interfaces:
org.keycloak.models.KeycloakSessionTask, org.keycloak.timer.ScheduledTask

public class DatabaseClusterEventPollerTask extends Object implements org.keycloak.timer.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 Details

    • DatabaseClusterEventPollerTask

      public DatabaseClusterEventPollerTask(String clusterName, org.infinispan.commons.marshall.Marshaller marshaller)
  • Method Details

    • run

      public void run(org.keycloak.models.KeycloakSession session)
      Specified by:
      run in interface org.keycloak.models.KeycloakSessionTask