keycloak
|
公開メンバ関数 | |
void | putLastSessionRefresh (KeycloakSession kcSession, String sessionId, String realmId, int lastSessionRefresh) |
限定公開メンバ関数 | |
LastSessionRefreshStore (int maxIntervalBetweenMessagesSeconds, int maxCount, String eventKey) | |
void | sendMessage (KeycloakSession kcSession, Map< String, SessionData > refreshesToSend) |
静的限定公開変数類 | |
static final Logger | logger = Logger.getLogger(LastSessionRefreshStore.class) |
関数 | |
void | checkSendingMessage (KeycloakSession kcSession, int currentTime) |
非公開メンバ関数 | |
synchronized Map< String, SessionData > | prepareSendingMessage (int currentTime) |
非公開変数類 | |
final int | maxIntervalBetweenMessagesSeconds |
final int | maxCount |
final String | eventKey |
volatile Map< String, SessionData > | lastSessionRefreshes = new ConcurrentHashMap<>() |
volatile int | lastRun = Time.currentTime() |
Tracks the queue of lastSessionRefreshes, which were updated on this host. Those will be sent to the second DC in bulk, so second DC can update lastSessionRefreshes on it's side. Message is sent either periodically or if there are lots of stored lastSessionRefreshes.
|
inlineprotected |
|
inlinepackage |
|
inlineprivate |
|
inline |
|
inlineprotected |
|
private |
|
private |
|
private |
|
staticprotected |
|
private |
|
private |