Class JpaClusterEventStoreProvider

java.lang.Object
org.keycloak.cluster.jpa.JpaClusterEventStoreProvider

public class JpaClusterEventStoreProvider extends Object
  • Constructor Details

    • JpaClusterEventStoreProvider

      public JpaClusterEventStoreProvider(KeycloakSession session)
  • Method Details

    • getPrimaryClusterName

      public String getPrimaryClusterName()
    • persist

      public String persist(String senderCluster, byte[] eventData)
    • readEvents

      public List<StoredClusterEvent> readEvents(String targetCluster, int maxResults)
    • deleteEvents

      public void deleteEvents(String targetCluster, Collection<String> ids)
    • deleteEventsOlderThan

      public void deleteEventsOlderThan(long timestampMillis)
    • eventExists

      public boolean eventExists(String id)
    • close

      public void close()
    • isUsingJdbcPing

      public boolean isUsingJdbcPing(String cluster, String node)