public enum TestStatisticsHolder extends java.lang.Enum<TestStatisticsHolder> implements com.hcl.domino.keep.metrics.KeepStatistics
Enum Constant and Description |
---|
INSTANCE
Singleton
|
Modifier and Type | Method and Description |
---|---|
com.hcl.domino.keep.metrics.KeepStatistics |
adjustConfiguredForms(com.hcl.domino.keep.info.KeepDbInfo dbInfo,
com.hcl.domino.keep.metrics.KeepStatistics.StatisticAction action) |
com.hcl.domino.keep.metrics.KeepStatistics |
adjustConfiguredForms(com.hcl.domino.keep.metrics.KeepStatistics.StatisticAction action) |
io.micrometer.core.instrument.Meter |
createMetric(java.lang.String key,
java.util.List<io.micrometer.core.instrument.Tag> metricsTags,
io.micrometer.core.instrument.Meter.Type type) |
io.micrometer.core.instrument.Meter |
createMetricForRegistry(java.lang.String key,
java.util.List<io.micrometer.core.instrument.Tag> metricsTags,
io.micrometer.core.instrument.Meter.Type type,
io.micrometer.core.instrument.MeterRegistry registry) |
java.util.Map<java.lang.String,io.micrometer.core.instrument.Meter> |
getMetricsMap() |
io.micrometer.core.instrument.Counter |
getOrCreateCounter(java.lang.String key,
java.util.List<io.micrometer.core.instrument.Tag> metricsTags) |
io.micrometer.core.instrument.Timer |
getOrCreateTimer(java.lang.String key,
java.util.List<io.micrometer.core.instrument.Tag> metricsTags) |
com.hcl.domino.keep.metrics.KeepStatistics |
reset() |
static TestStatisticsHolder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestStatisticsHolder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestStatisticsHolder INSTANCE
public static TestStatisticsHolder[] values()
for (TestStatisticsHolder c : TestStatisticsHolder.values()) System.out.println(c);
public static TestStatisticsHolder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic com.hcl.domino.keep.metrics.KeepStatistics adjustConfiguredForms(com.hcl.domino.keep.info.KeepDbInfo dbInfo, com.hcl.domino.keep.metrics.KeepStatistics.StatisticAction action)
adjustConfiguredForms
in interface com.hcl.domino.keep.metrics.KeepStatistics
public com.hcl.domino.keep.metrics.KeepStatistics adjustConfiguredForms(com.hcl.domino.keep.metrics.KeepStatistics.StatisticAction action)
adjustConfiguredForms
in interface com.hcl.domino.keep.metrics.KeepStatistics
public io.micrometer.core.instrument.Meter createMetric(java.lang.String key, java.util.List<io.micrometer.core.instrument.Tag> metricsTags, io.micrometer.core.instrument.Meter.Type type)
public io.micrometer.core.instrument.Meter createMetricForRegistry(java.lang.String key, java.util.List<io.micrometer.core.instrument.Tag> metricsTags, io.micrometer.core.instrument.Meter.Type type, io.micrometer.core.instrument.MeterRegistry registry)
createMetricForRegistry
in interface com.hcl.domino.keep.metrics.KeepStatistics
public java.util.Map<java.lang.String,io.micrometer.core.instrument.Meter> getMetricsMap()
getMetricsMap
in interface com.hcl.domino.keep.metrics.KeepStatistics
public io.micrometer.core.instrument.Counter getOrCreateCounter(java.lang.String key, java.util.List<io.micrometer.core.instrument.Tag> metricsTags)
getOrCreateCounter
in interface com.hcl.domino.keep.metrics.KeepStatistics
public io.micrometer.core.instrument.Timer getOrCreateTimer(java.lang.String key, java.util.List<io.micrometer.core.instrument.Tag> metricsTags)
getOrCreateTimer
in interface com.hcl.domino.keep.metrics.KeepStatistics
public com.hcl.domino.keep.metrics.KeepStatistics reset()
reset
in interface com.hcl.domino.keep.metrics.KeepStatistics