Class TracingConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<TracingConfiguration>
org.infinispan.configuration.cache.TracingConfiguration
- All Implemented Interfaces:
Matchable<TracingConfiguration>
,Updatable<TracingConfiguration>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AttributeDefinition
<Set<SpanCategory>> static final AttributeDefinition
<Boolean> Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
enabled()
Whether tracing is enabled or disabled on the given cache.boolean
enabled
(SpanCategory category) 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
-
CATEGORIES
-
-
Constructor Details
-
TracingConfiguration
-
-
Method Details
-
enabled
public boolean enabled()Whether tracing is enabled or disabled on the given cache. This property can be used to enable or disable tracing at runtime.- Returns:
- Whether the tracing is enabled on the given cache
-
categories
-
enabled
-