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

@ProtoTypeId(1029) public class CacheEntryGroupPredicate<K> extends Object implements Predicate<CacheEntry<K,?>>, org.infinispan.commands.functional.functions.InjectableComponent
Tests if a CacheEntry belongs to a group.
Since:
14.0
  • Constructor Details

    • CacheEntryGroupPredicate

      @ProtoFactory public CacheEntryGroupPredicate(String groupName)
  • Method Details

    • test

      public boolean test(CacheEntry<K,?> entry)
      Specified by:
      test in interface Predicate<K>
    • inject

      public void inject(ComponentRegistry registry)
      Specified by:
      inject in interface org.infinispan.commands.functional.functions.InjectableComponent
    • toString

      public String toString()
      Overrides:
      toString in class Object