Class CacheEntryGroupPredicate<K>
- java.lang.Object
-
- org.infinispan.distribution.group.impl.CacheEntryGroupPredicate<K>
-
- All Implemented Interfaces:
Predicate<CacheEntry<K,?>>
,org.infinispan.commands.functional.functions.InjectableComponent
public class CacheEntryGroupPredicate<K> extends Object implements Predicate<CacheEntry<K,?>>, org.infinispan.commands.functional.functions.InjectableComponent
Tests if aCacheEntry
belongs to a group.- Since:
- 14.0
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractExternalizer<CacheEntryGroupPredicate>
EXTERNALIZER
-
Constructor Summary
Constructors Constructor Description CacheEntryGroupPredicate(String groupName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
inject(ComponentRegistry registry)
boolean
test(CacheEntry<K,?> entry)
String
toString()
-
-
-
Field Detail
-
EXTERNALIZER
public static final AbstractExternalizer<CacheEntryGroupPredicate> EXTERNALIZER
-
-
Constructor Detail
-
CacheEntryGroupPredicate
public CacheEntryGroupPredicate(String groupName)
-
-
Method Detail
-
test
public boolean test(CacheEntry<K,?> entry)
-
inject
public void inject(ComponentRegistry registry)
- Specified by:
inject
in interfaceorg.infinispan.commands.functional.functions.InjectableComponent
-
-