public class LastSessionRefreshStoreFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_COUNT |
static int |
DEFAULT_MAX_INTERVAL_BETWEEN_MESSAGES_SECONDS |
static long |
DEFAULT_TIMER_INTERVAL_MS |
static String |
LSR_OFFLINE_PERIODIC_TASK_NAME |
static String |
LSR_PERIODIC_TASK_NAME |
| Constructor and Description |
|---|
LastSessionRefreshStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
LastSessionRefreshStore |
createAndInit(KeycloakSession kcSession,
org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache,
boolean offline) |
LastSessionRefreshStore |
createAndInit(KeycloakSession kcSession,
org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache,
long timerIntervalMs,
int maxIntervalBetweenMessagesSeconds,
int maxCount,
boolean offline) |
protected LastSessionRefreshStore |
createStoreInstance(int maxIntervalBetweenMessagesSeconds,
int maxCount,
String eventKey) |
public static final long DEFAULT_TIMER_INTERVAL_MS
public static final int DEFAULT_MAX_INTERVAL_BETWEEN_MESSAGES_SECONDS
public static final int DEFAULT_MAX_COUNT
public static final String LSR_PERIODIC_TASK_NAME
public static final String LSR_OFFLINE_PERIODIC_TASK_NAME
public LastSessionRefreshStore createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, boolean offline)
public LastSessionRefreshStore createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline)
protected LastSessionRefreshStore createStoreInstance(int maxIntervalBetweenMessagesSeconds, int maxCount, String eventKey)
Copyright © 2018 JBoss by Red Hat. All rights reserved.