Class CrossDCLastSessionRefreshStoreFactory
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStoreFactory
org.keycloak.models.sessions.infinispan.changes.sessions.CrossDCLastSessionRefreshStoreFactory
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStoreFactory
AbstractLastSessionRefreshStoreFactory.PropagateLastSessionRefreshTask
-
Field Summary
Fields inherited from class org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStoreFactory
DEFAULT_MAX_COUNT, DEFAULT_MAX_INTERVAL_BETWEEN_MESSAGES_SECONDS, DEFAULT_TIMER_INTERVAL_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline) protected CrossDCLastSessionRefreshStore
createStoreInstance
(int maxIntervalBetweenMessagesSeconds, int maxCount, String eventKey) Methods inherited from class org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStoreFactory
setupPeriodicTimer
-
Field Details
-
LSR_PERIODIC_TASK_NAME
- See Also:
-
LSR_OFFLINE_PERIODIC_TASK_NAME
- See Also:
-
-
Constructor Details
-
CrossDCLastSessionRefreshStoreFactory
public CrossDCLastSessionRefreshStoreFactory()
-
-
Method Details
-
createAndInit
public CrossDCLastSessionRefreshStore createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) -
createAndInit
public CrossDCLastSessionRefreshStore createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline) -
createStoreInstance
protected CrossDCLastSessionRefreshStore createStoreInstance(int maxIntervalBetweenMessagesSeconds, int maxCount, String eventKey)
-