Enum CacheRegistryFilter
- java.lang.Object
-
- java.lang.Enum<CacheRegistryFilter>
-
- org.wildfly.clustering.server.infinispan.registry.CacheRegistryFilter
-
- All Implemented Interfaces:
Serializable,Comparable<CacheRegistryFilter>,Predicate<Object>,org.infinispan.notifications.cachelistener.filter.CacheEventFilter<Object,Object>
public enum CacheRegistryFilter extends Enum<CacheRegistryFilter> implements org.infinispan.notifications.cachelistener.filter.CacheEventFilter<Object,Object>, Predicate<Object>
- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Object key, Object oldValue, org.infinispan.metadata.Metadata oldMetadata, Object newValue, org.infinispan.metadata.Metadata newMetadata, org.infinispan.notifications.cachelistener.filter.EventType eventType)booleantest(Object key)static CacheRegistryFiltervalueOf(String name)Returns the enum constant of this type with the specified name.static CacheRegistryFilter[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
-
-
-
Enum Constant Detail
-
INSTANCE
public static final CacheRegistryFilter INSTANCE
-
-
Method Detail
-
values
public static CacheRegistryFilter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CacheRegistryFilter c : CacheRegistryFilter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheRegistryFilter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
accept
public boolean accept(Object key, Object oldValue, org.infinispan.metadata.Metadata oldMetadata, Object newValue, org.infinispan.metadata.Metadata newMetadata, org.infinispan.notifications.cachelistener.filter.EventType eventType)
-
-