Class PersisterLastSessionRefreshStore
- java.lang.Object
- 
- org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStore
- 
- org.keycloak.models.sessions.infinispan.changes.sessions.PersisterLastSessionRefreshStore
 
 
- 
 public class PersisterLastSessionRefreshStore extends AbstractLastSessionRefreshStore The store is supposed to do periodic bulk update of lastSessionRefresh times of all userSessions, which were refreshed during some period of time. The updates are sent to UserSessionPersisterProvider (DB)- Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static org.jboss.logging.Loggerlogger
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedPersisterLastSessionRefreshStore(int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsendMessage(KeycloakSession kcSession, Map<String,SessionData> refreshesToSend)Bulk update the underlying store with all the user sessions, which were refreshed by Keycloak since the last call of this method- 
Methods inherited from class org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStoreputLastSessionRefresh, reset
 
- 
 
- 
- 
- 
Method Detail- 
sendMessageprotected void sendMessage(KeycloakSession kcSession, Map<String,SessionData> refreshesToSend) Description copied from class:AbstractLastSessionRefreshStoreBulk update the underlying store with all the user sessions, which were refreshed by Keycloak since the last call of this method- Specified by:
- sendMessagein class- AbstractLastSessionRefreshStore
- refreshesToSend- Key is userSession ID, SessionData are data about the session
 
 
- 
 
-