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> 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<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 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?booleanjvm()Deprecated, for removal: This API element is subject to removal in a future version.booleanlegacy()Whether legacy metrics should be reported.booleanDeprecated, 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
Deprecated, for removal: This API element is subject to removal in a future version. -
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
Deprecated, for removal: This API element is subject to removal in a future version.Whether JVM metrics should be reported. -
legacy
public boolean legacy()Whether legacy metrics should be reported.- Returns:
-
equals
-
hashCode
-
toString
-