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>
ENABLED
static AttributeDefinition<java.util.List<Grouper<?>>>
GROUPERS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet
attributes()
boolean
enabled()
If grouping support is enabled, thenGroup
annotations are honored and any configured groupers will be invokedboolean
equals(java.lang.Object obj)
ElementDefinition
getElementDefinition()
java.util.List<Grouper<?>>
groupers()
Get's the current groupers in useint
hashCode()
java.lang.String
toString()
-
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:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
enabled
public boolean enabled()
If grouping support is enabled, thenGroup
annotations 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:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-