Class PolicyRemovedEvent
- java.lang.Object
-
- org.keycloak.models.cache.infinispan.events.InvalidationEvent
-
- org.keycloak.models.cache.infinispan.authorization.events.PolicyRemovedEvent
-
- All Implemented Interfaces:
Serializable
,ClusterEvent
,AuthorizationCacheInvalidationEvent
@SerializeWith(ExternalizerImpl.class) public class PolicyRemovedEvent extends InvalidationEvent implements AuthorizationCacheInvalidationEvent
- Author:
- Marek Posolda
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyRemovedEvent.ExternalizerImpl
-
Constructor Summary
Constructors Constructor Description PolicyRemovedEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInvalidations(StoreFactoryCacheManager cache, Set<String> invalidations)
static PolicyRemovedEvent
create(String id, String name, Set<String> resources, Set<String> resourceTypes, Set<String> scopes, String serverId)
boolean
equals(Object o)
String
getId()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
create
public static PolicyRemovedEvent create(String id, String name, Set<String> resources, Set<String> resourceTypes, Set<String> scopes, String serverId)
-
getId
public String getId()
- Specified by:
getId
in classInvalidationEvent
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classInvalidationEvent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classInvalidationEvent
-
addInvalidations
public void addInvalidations(StoreFactoryCacheManager cache, Set<String> invalidations)
- Specified by:
addInvalidations
in interfaceAuthorizationCacheInvalidationEvent
-
-