Package org.infinispan.lock.impl.lock
Class ClusteredLockFilter
- java.lang.Object
-
- org.infinispan.lock.impl.lock.ClusteredLockFilter
-
- All Implemented Interfaces:
org.infinispan.notifications.cachelistener.filter.CacheEventFilter<ClusteredLockKey,ClusteredLockValue>
public class ClusteredLockFilter extends Object implements org.infinispan.notifications.cachelistener.filter.CacheEventFilter<ClusteredLockKey,ClusteredLockValue>
This listener is used to monitor lock state changes. More about listeners {@see http://infinispan.org/docs/stable/user_guide/user_guide.html#cache_level_notifications}- Since:
- 9.2
- Author:
- Katia Aresti, karesti@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusteredLockFilter.Externalizer
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.marshall.AdvancedExternalizer<ClusteredLockFilter>EXTERNALIZER
-
Constructor Summary
Constructors Constructor Description ClusteredLockFilter(ClusteredLockKey name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(ClusteredLockKey key, ClusteredLockValue oldValue, org.infinispan.metadata.Metadata oldMetadata, ClusteredLockValue newValue, org.infinispan.metadata.Metadata newMetadata, org.infinispan.notifications.cachelistener.filter.EventType eventType)
-
-
-
Field Detail
-
EXTERNALIZER
public static final org.infinispan.commons.marshall.AdvancedExternalizer<ClusteredLockFilter> EXTERNALIZER
-
-
Constructor Detail
-
ClusteredLockFilter
public ClusteredLockFilter(ClusteredLockKey name)
-
-
Method Detail
-
accept
public boolean accept(ClusteredLockKey key, ClusteredLockValue oldValue, org.infinispan.metadata.Metadata oldMetadata, ClusteredLockValue newValue, org.infinispan.metadata.Metadata newMetadata, org.infinispan.notifications.cachelistener.filter.EventType eventType)
- Specified by:
acceptin interfaceorg.infinispan.notifications.cachelistener.filter.CacheEventFilter<ClusteredLockKey,ClusteredLockValue>
-
-