Class JMXStatisticsConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.JMXStatisticsConfiguration
-
- All Implemented Interfaces:
Matchable<JMXStatisticsConfiguration>,BaseConfigurationInfo,ConfigurationInfo
public class JMXStatisticsConfiguration extends java.lang.Object implements Matchable<JMXStatisticsConfiguration>, ConfigurationInfo
Determines whether statistics are gather and reported.- Author:
- pmuir
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Boolean>AVAILABLEstatic AttributeDefinition<java.lang.Boolean>ENABLED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSetattributes()booleanavailable()If set to false, statistics gathering cannot be enabled during runtime.booleanenabled()booleanequals(java.lang.Object obj)ElementDefinitiongetElementDefinition()inthashCode()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
-
AVAILABLE
public static final AttributeDefinition<java.lang.Boolean> AVAILABLE
-
-
Method Detail
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
enabled
public boolean enabled()
-
available
public boolean available()
If set to false, statistics gathering cannot be enabled during runtime. Performance optimization.- Returns:
-
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
-
-