Class GlobalMetricsConfiguration
java.lang.Object
org.infinispan.configuration.global.GlobalMetricsConfiguration
Configuration for metrics. See
GlobalMetricsConfigurationBuilder.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeDefinition<Boolean>static final AttributeDefinition<Boolean>static final AttributeDefinition<Boolean>static final AttributeDefinition<Boolean>static final AttributeDefinition<String> -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether cache sizes should be computedbooleanenabled()Metrics are enabled if at least one of the metric types is enabled.booleanbooleangauges()Are gauges enabled?inthashCode()booleanAre histograms enabled?booleanPut the cache manager and cache name in tags rather then include them in the metric name.prefix()The global prefix to add to all metric names.toString()
-
Field Details
-
GAUGES
-
HISTOGRAMS
-
PREFIX
-
NAMES_AS_TAGS
-
ACCURATE_SIZE
-
-
Method Details
-
attributes
-
enabled
public boolean enabled()Metrics are enabled if at least one of the metric types is enabled. Seegauges(),histograms(). -
gauges
public boolean gauges()Are gauges enabled? -
histograms
public boolean histograms()Are histograms enabled? -
prefix
The global prefix to add to all metric names. -
namesAsTags
public boolean namesAsTags()Put the cache manager and cache name in tags rather then include them in the metric name. -
accurateSize
public boolean accurateSize()Whether cache sizes should be computed- Returns:
-
equals
-
hashCode
public int hashCode() -
toString
-