Class StatisticsConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<StatisticsConfiguration>
org.infinispan.configuration.cache.StatisticsConfiguration
- All Implemented Interfaces:
Matchable<StatisticsConfiguration>
,Updatable<StatisticsConfiguration>
,JMXStatisticsConfiguration
public class StatisticsConfiguration
extends ConfigurationElement<StatisticsConfiguration>
implements JMXStatisticsConfiguration
Determines whether cache statistics are gathered.
- Since:
- 10.1.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AttributeDefinition
<Boolean> static final AttributeDefinition
<Boolean> Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
Method Summary
Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, equals, findAttribute, hashCode, isModified, list, matches, toString, update, validateUpdate, write
-
Field Details
-
ENABLED
-
AVAILABLE
-
-
Method Details
-
enabled
public boolean enabled()- Specified by:
enabled
in interfaceJMXStatisticsConfiguration
-
available
Deprecated, for removal: This API element is subject to removal in a future version.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 interfaceJMXStatisticsConfiguration
-