Class SessionEventsSenderTransaction
java.lang.Object
org.keycloak.models.AbstractKeycloakTransaction
org.keycloak.models.sessions.infinispan.events.SessionEventsSenderTransaction
- All Implemented Interfaces:
KeycloakTransaction
Postpone sending notifications of session events to the commit of Keycloak transaction
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.models.AbstractKeycloakTransaction
AbstractKeycloakTransaction.TransactionState
-
Field Summary
Fields inherited from class org.keycloak.models.AbstractKeycloakTransaction
logger, state
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(SessionClusterEvent event, ClusterProvider.DCNotify dcNotify) protected void
protected void
Methods inherited from class org.keycloak.models.AbstractKeycloakTransaction
begin, commit, getRollbackOnly, getState, isActive, rollback, setRollbackOnly
-
Constructor Details
-
SessionEventsSenderTransaction
-
-
Method Details
-
addEvent
-
commitImpl
protected void commitImpl()- Specified by:
commitImpl
in classAbstractKeycloakTransaction
-
rollbackImpl
protected void rollbackImpl()- Specified by:
rollbackImpl
in classAbstractKeycloakTransaction
-