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>
AVAILABLE
static AttributeDefinition<java.lang.Boolean>
ENABLED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet
attributes()
boolean
available()
If set to false, statistics gathering cannot be enabled during runtime.boolean
enabled()
boolean
equals(java.lang.Object obj)
ElementDefinition
getElementDefinition()
int
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
-
AVAILABLE
public static final AttributeDefinition<java.lang.Boolean> AVAILABLE
-
-
Method Detail
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of 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:
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
-
-