public final class DefaultRegistry extends AbstractRegistry
| Constructor and Description |
|---|
DefaultRegistry()
Create a new instance.
|
DefaultRegistry(Clock clock)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Counter |
newCounter(Id id)
Create a new counter instance for a given id.
|
protected DistributionSummary |
newDistributionSummary(Id id)
Create a new distribution summary instance for a given id.
|
protected Timer |
newTimer(Id id)
Create a new timer instance for a given id.
|
clock, counter, createId, createId, distributionSummary, get, iterator, register, timerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectionSize, collectionSize, counter, counter, counter, counter, counters, createDynamicId, createDynamicId, createId, createId, distributionSummaries, distributionSummary, distributionSummary, distributionSummary, distributionSummary, gauge, gauge, gauge, gauge, gauge, gauge, gauge, longTaskTimer, longTaskTimer, longTaskTimer, longTaskTimer, mapSize, mapSize, methodValue, methodValue, stream, timer, timer, timer, timer, timers, underlyingforEach, spliteratorpublic DefaultRegistry()
public DefaultRegistry(Clock clock)
protected Counter newCounter(Id id)
AbstractRegistrynewCounter in class AbstractRegistryid - Identifier used to lookup this meter in the registry.protected DistributionSummary newDistributionSummary(Id id)
AbstractRegistrynewDistributionSummary in class AbstractRegistryid - Identifier used to lookup this meter in the registry.protected Timer newTimer(Id id)
AbstractRegistrynewTimer in class AbstractRegistryid - Identifier used to lookup this meter in the registry.