Class StatisticsConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.JMXStatisticsConfiguration
-
- org.infinispan.configuration.cache.StatisticsConfiguration
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<StatisticsConfiguration>
,BaseConfigurationInfo
,ConfigurationInfo
public class StatisticsConfiguration extends JMXStatisticsConfiguration implements org.infinispan.commons.configuration.attributes.Matchable<StatisticsConfiguration>
Determines whether cache statistics are gathered.- Since:
- 10.1.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
boolean
available()
Deprecated.since 10.1.3.boolean
enabled()
boolean
equals(Object obj)
org.infinispan.commons.configuration.elements.ElementDefinition<StatisticsConfiguration>
getElementDefinition()
int
hashCode()
String
toString()
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Method Detail
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition<StatisticsConfiguration> getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
enabled
public boolean enabled()
- Specified by:
enabled
in classJMXStatisticsConfiguration
-
available
@Deprecated public boolean available()
Deprecated.since 10.1.3. This method will be removed in a future version.If set to false, statistics gathering cannot be enabled during runtime. Performance optimization.- Specified by:
available
in classJMXStatisticsConfiguration
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
toString
public String toString()
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
-