Class SessionClusterEvent
java.lang.Object
org.keycloak.models.sessions.infinispan.events.SessionClusterEvent
- All Implemented Interfaces:
Serializable,ClusterEvent
- Direct Known Subclasses:
ClientRemovedSessionEvent,RealmRemovedSessionEvent,RemoveAllUserLoginFailuresEvent,RemoveUserSessionsEvent
- Author:
- Marek Posolda
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends SessionClusterEvent>
TcreateEvent(Class<T> eventClass, String eventKey, KeycloakSession session, String realmId, boolean resendingEvent) booleaninthashCode()booleanprotected voidmarshallTo(ObjectOutput output) toString()protected voidunmarshallFrom(ObjectInput input) Sets the properties of this object from the input stream.
-
Constructor Details
-
SessionClusterEvent
public SessionClusterEvent()
-
-
Method Details
-
createEvent
public static <T extends SessionClusterEvent> T createEvent(Class<T> eventClass, String eventKey, KeycloakSession session, String realmId, boolean resendingEvent) -
getRealmId
-
getEventKey
-
isResendingEvent
public boolean isResendingEvent() -
getSiteId
-
getNodeId
-
equals
-
hashCode
public int hashCode() -
toString
-
marshallTo
- Throws:
IOException
-
unmarshallFrom
Sets the properties of this object from the input stream.- Parameters:
input-- Throws:
IOException
-