Class GroupsConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.GroupsConfiguration
-
- All Implemented Interfaces:
Matchable<GroupsConfiguration>,BaseConfigurationInfo,ConfigurationInfo
public class GroupsConfiguration extends java.lang.Object implements Matchable<GroupsConfiguration>, ConfigurationInfo
Configuration for various grouper definitions. See the user guide for more information.- Author:
- pmuir
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Boolean>ENABLEDstatic AttributeDefinition<java.util.List<Grouper<?>>>GROUPERS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSetattributes()booleanenabled()If grouping support is enabled, thenGroupannotations are honored and any configured groupers will be invokedbooleanequals(java.lang.Object obj)ElementDefinitiongetElementDefinition()java.util.List<Grouper<?>>groupers()Get's the current groupers in useinthashCode()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
ENABLED
public static final AttributeDefinition<java.lang.Boolean> ENABLED
-
GROUPERS
public static final AttributeDefinition<java.util.List<Grouper<?>>> GROUPERS
-
-
Method Detail
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
enabled
public boolean enabled()
If grouping support is enabled, thenGroupannotations are honored and any configured groupers will be invoked- Returns:
-
groupers
public java.util.List<Grouper<?>> groupers()
Get's the current groupers in use
-
attributes
public AttributeSet attributes()
- Specified by:
attributesin interfaceBaseConfigurationInfo- Returns:
- the
AttributeSetdeclared by the configuration.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-