Class CrossDCLastSessionRefreshStoreFactory
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStoreFactory
-
- org.keycloak.models.sessions.infinispan.changes.sessions.CrossDCLastSessionRefreshStoreFactory
-
public class CrossDCLastSessionRefreshStoreFactory extends AbstractLastSessionRefreshStoreFactory
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description static String
LSR_OFFLINE_PERIODIC_TASK_NAME
static String
LSR_PERIODIC_TASK_NAME
-
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
Constructors Constructor Description CrossDCLastSessionRefreshStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossDCLastSessionRefreshStore
createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, boolean offline)
CrossDCLastSessionRefreshStore
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 Detail
-
LSR_PERIODIC_TASK_NAME
public static final String LSR_PERIODIC_TASK_NAME
- See Also:
- Constant Field Values
-
LSR_OFFLINE_PERIODIC_TASK_NAME
public static final String LSR_OFFLINE_PERIODIC_TASK_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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)
-
-