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
<Boolean> Deprecated, for removal: This API element is subject to removal in a future version.static final AttributeDefinition
<Boolean> Deprecated, for removal: This API element is subject to removal in a future version.static final AttributeDefinition
<String> Deprecated, for removal: This API element is subject to removal in a future version. -
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
jvm()
Whether JVM metrics should be reported.boolean
legacy()
Whether legacy metrics should be reported.boolean
Deprecated, for removal: This API element is subject to removal in a future version.prefix()
Deprecated, for removal: This API element is subject to removal in a future version.toString()
-
Field Details
-
GAUGES
-
HISTOGRAMS
-
PREFIX
Deprecated, for removal: This API element is subject to removal in a future version. -
NAMES_AS_TAGS
@Deprecated(forRemoval=true, since="16.0") public static final AttributeDefinition<Boolean> NAMES_AS_TAGSDeprecated, for removal: This API element is subject to removal in a future version. -
ACCURATE_SIZE
-
JVM
-
LEGACY
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
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
Deprecated, for removal: This API element is subject to removal in a future version.The global prefix to add to all metric names. -
namesAsTags
Deprecated, for removal: This API element is subject to removal in a future version.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:
-
jvm
public boolean jvm()Whether JVM metrics should be reported.- Returns:
-
legacy
public boolean legacy()Whether legacy metrics should be reported.- Returns:
-
equals
-
hashCode
-
toString
-