Class SessionClusterEvent
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.events.SessionClusterEvent
-
- All Implemented Interfaces:
Serializable,ClusterEvent
- Direct Known Subclasses:
ClientRemovedSessionEvent,RealmRemovedSessionEvent,RemoveAllUserLoginFailuresEvent,RemoveUserSessionsEvent
public abstract class SessionClusterEvent extends Object implements ClusterEvent
- Author:
- Marek Posolda
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionClusterEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends SessionClusterEvent>
TcreateEvent(Class<T> eventClass, String eventKey, KeycloakSession session, String realmId, boolean resendingEvent)booleanequals(Object o)StringgetEventKey()StringgetNodeId()StringgetRealmId()StringgetSiteId()inthashCode()booleanisResendingEvent()protected voidmarshallTo(ObjectOutput output)StringtoString()protected voidunmarshallFrom(ObjectInput input)Sets the properties of this object from the input stream.
-
-
-
Method Detail
-
createEvent
public static <T extends SessionClusterEvent> T createEvent(Class<T> eventClass, String eventKey, KeycloakSession session, String realmId, boolean resendingEvent)
-
getRealmId
public String getRealmId()
-
getEventKey
public String getEventKey()
-
isResendingEvent
public boolean isResendingEvent()
-
getSiteId
public String getSiteId()
-
getNodeId
public String getNodeId()
-
marshallTo
protected void marshallTo(ObjectOutput output) throws IOException
- Throws:
IOException
-
unmarshallFrom
protected void unmarshallFrom(ObjectInput input) throws IOException
Sets the properties of this object from the input stream.- Parameters:
input-- Throws:
IOException
-
-