Enum CoreMetrics
- java.lang.Object
-
- java.lang.Enum<CoreMetrics>
-
- com.atlassian.confluence.impl.metrics.CoreMetrics
-
- All Implemented Interfaces:
Serializable
,Comparable<CoreMetrics>
public enum CoreMetrics extends Enum<CoreMetrics>
Consolidates named metrics used by Confluence core into one place.- Since:
- 7.6
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.core.instrument.Counter
counter(io.micrometer.core.instrument.MeterRegistry meterRegistry, String... tags)
Get/create a MicrometerCounter
with the given tags.<T> T
resolve(Function<String,T> resolver)
io.micrometer.core.instrument.Timer
timer(io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.core.instrument.Tag... tags)
Get/create a MicrometerTimer
with the given tags.io.micrometer.core.instrument.Timer
timer(io.micrometer.core.instrument.MeterRegistry meterRegistry, String... tags)
Get/create a MicrometerTimer
with the given tags.static CoreMetrics
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoreMetrics[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIBERNATE_ENTITY_FETCH
public static final CoreMetrics HIBERNATE_ENTITY_FETCH
-
HIBERNATE_ENTITY_LOAD
public static final CoreMetrics HIBERNATE_ENTITY_LOAD
-
HIBERNATE_ENTITY_INSERT
public static final CoreMetrics HIBERNATE_ENTITY_INSERT
-
HIBERNATE_ENTITY_UPDATE
public static final CoreMetrics HIBERNATE_ENTITY_UPDATE
-
HIBERNATE_ENTITY_DELETE
public static final CoreMetrics HIBERNATE_ENTITY_DELETE
-
HIBERNATE_ENTITY_LOCK_FAILURE
public static final CoreMetrics HIBERNATE_ENTITY_LOCK_FAILURE
-
HIBERNATE_COLLECTION_FETCH
public static final CoreMetrics HIBERNATE_COLLECTION_FETCH
-
HIBERNATE_COLLECTION_LOAD
public static final CoreMetrics HIBERNATE_COLLECTION_LOAD
-
HIBERNATE_COLLECTION_RECREATE
public static final CoreMetrics HIBERNATE_COLLECTION_RECREATE
-
HIBERNATE_COLLECTION_REMOVE
public static final CoreMetrics HIBERNATE_COLLECTION_REMOVE
-
HIBERNATE_COLLECTION_UPDATE
public static final CoreMetrics HIBERNATE_COLLECTION_UPDATE
-
HIBERNATE_COLLECTION_DELETE
public static final CoreMetrics HIBERNATE_COLLECTION_DELETE
-
HIBERNATE_L2CACHE_GET
public static final CoreMetrics HIBERNATE_L2CACHE_GET
-
HIBERNATE_L2CACHE_PUT
public static final CoreMetrics HIBERNATE_L2CACHE_PUT
-
HIBERNATE_L2CACHE_ELEMENTS
public static final CoreMetrics HIBERNATE_L2CACHE_ELEMENTS
-
HIBERNATE_L2CACHE_SIZE
public static final CoreMetrics HIBERNATE_L2CACHE_SIZE
-
LOCK_OPERATION_TIMER
public static final CoreMetrics LOCK_OPERATION_TIMER
-
HAZELCAST_CLUSTER_EVENT_TOTAL_WAIT_TIME
public static final CoreMetrics HAZELCAST_CLUSTER_EVENT_TOTAL_WAIT_TIME
-
HAZELCAST_CLUSTER_EVENT_MEMBER_WAIT_TIME
public static final CoreMetrics HAZELCAST_CLUSTER_EVENT_MEMBER_WAIT_TIME
-
LOG_EVENT
public static final CoreMetrics LOG_EVENT
-
ASYNC_INVALIDATION_CACHE_PUBLISH_SEQUENCE_SNAPSHOT
public static final CoreMetrics ASYNC_INVALIDATION_CACHE_PUBLISH_SEQUENCE_SNAPSHOT
-
ASYNC_INVALIDATION_CACHE_SEQUENCE_SNAPSHOT_INCONSISTENT
public static final CoreMetrics ASYNC_INVALIDATION_CACHE_SEQUENCE_SNAPSHOT_INCONSISTENT
-
ASYNC_INVALIDATION_CACHE_INVALIDATION_OUT_OF_SEQUENCE
public static final CoreMetrics ASYNC_INVALIDATION_CACHE_INVALIDATION_OUT_OF_SEQUENCE
-
INDEX_TASK_QUEUE_SIZE
public static final CoreMetrics INDEX_TASK_QUEUE_SIZE
-
HAZELCAST_CACHE_COMPACTION
public static final CoreMetrics HAZELCAST_CACHE_COMPACTION
-
-
Method Detail
-
values
public static CoreMetrics[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoreMetrics c : CoreMetrics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreMetrics valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
timer
public io.micrometer.core.instrument.Timer timer(io.micrometer.core.instrument.MeterRegistry meterRegistry, String... tags)
Get/create a MicrometerTimer
with the given tags.
-
timer
public io.micrometer.core.instrument.Timer timer(io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.core.instrument.Tag... tags)
Get/create a MicrometerTimer
with the given tags.
-
counter
public io.micrometer.core.instrument.Counter counter(io.micrometer.core.instrument.MeterRegistry meterRegistry, String... tags)
Get/create a MicrometerCounter
with the given tags.
-
-