public class CrossDCLastSessionRefreshStoreFactory extends AbstractLastSessionRefreshStoreFactory
Modifier and Type | Field and Description |
---|---|
static String |
LSR_OFFLINE_PERIODIC_TASK_NAME |
static String |
LSR_PERIODIC_TASK_NAME |
DEFAULT_MAX_COUNT, DEFAULT_MAX_INTERVAL_BETWEEN_MESSAGES_SECONDS, DEFAULT_TIMER_INTERVAL_MS
Constructor and Description |
---|
CrossDCLastSessionRefreshStoreFactory() |
Modifier and Type | Method and 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) |
setupPeriodicTimer
public static final String LSR_PERIODIC_TASK_NAME
public static final String LSR_OFFLINE_PERIODIC_TASK_NAME
public CrossDCLastSessionRefreshStoreFactory()
public CrossDCLastSessionRefreshStore createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, boolean offline)
public 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)
Copyright © 2021 JBoss by Red Hat. All rights reserved.