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)
boolean
equals(Object o)
String
getEventKey()
String
getNodeId()
String
getRealmId()
String
getSiteId()
int
hashCode()
boolean
isResendingEvent()
protected void
marshallTo(ObjectOutput output)
String
toString()
protected void
unmarshallFrom(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
-
-