Class GlobalMetricsConfiguration
java.lang.Object
org.infinispan.configuration.global.GlobalMetricsConfiguration
Configuration for metrics. See
GlobalMetricsConfigurationBuilder
.-
Field Summary
Modifier 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 TypeMethodDescriptionboolean
Whether cache sizes should be computedboolean
enabled()
Metrics are enabled if at least one of the metric types is enabled.boolean
boolean
gauges()
Are gauges enabled?int
hashCode()
boolean
Are histograms enabled?boolean
Put 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
-