@Deprecated public final class ExtendedRegistry extends Object implements Registry
Constructor and Description |
---|
ExtendedRegistry(Registry impl)
Deprecated.
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Clock |
clock()
Deprecated.
The clock used by the registry for timing events.
|
Counter |
counter(DynamicId id)
Deprecated.
Measures the rate of some activity.
|
Counter |
counter(Id id)
Deprecated.
Measures the rate of some activity.
|
DynamicId |
createDynamicId(String name)
Deprecated.
Creates a dynamic identifier for a meter.
|
DynamicId |
createDynamicId(String name,
Iterable<TagFactory> tagFactories)
Deprecated.
Creates a dynamic identifier for a meter.
|
Id |
createId(String name)
Deprecated.
Creates an identifier for a meter.
|
Id |
createId(String name,
Iterable<Tag> tags)
Deprecated.
Creates an identifier for a meter.
|
DistributionSummary |
distributionSummary(Id id)
Deprecated.
Measures the rate and variation in amount for some activity.
|
Meter |
get(Id id)
Deprecated.
Returns the meter associated with a given id.
|
Iterator<Meter> |
iterator()
Deprecated.
Iterator for traversing the set of meters in the registry.
|
void |
register(Meter meter)
Deprecated.
Add a custom meter to the registry.
|
Timer |
timer(Id id)
Deprecated.
Measures the rate and time taken for short running tasks.
|
String |
toString()
Deprecated.
|
Registry |
underlying()
Deprecated.
Returns the underlying registry implementation that is being wrapped.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
collectionSize, collectionSize, config, counter, counter, counter, counters, createId, createId, distributionSummaries, distributionSummary, distributionSummary, distributionSummary, distributionSummary, gauge, gauge, gauge, gauge, gauge, longTaskTimer, longTaskTimer, longTaskTimer, longTaskTimer, mapSize, mapSize, methodValue, methodValue, propagate, propagate, stream, timer, timer, timer, timer, timers, underlying
forEach, spliterator
public ExtendedRegistry(Registry impl)
public Registry underlying()
public Clock clock()
Registry
public Id createId(String name)
Registry
public Id createId(String name, Iterable<Tag> tags)
Registry
public DynamicId createDynamicId(String name)
Registry
createDynamicId
in interface Registry
name
- Description of the measurement that is being collected.public DynamicId createDynamicId(String name, Iterable<TagFactory> tagFactories)
Registry
createDynamicId
in interface Registry
name
- Description of the measurement that is being collected.tagFactories
- Other factories that can generate other dimensions that can be used to classify the measurement.public void register(Meter meter)
Registry
public Counter counter(Id id)
Registry
counter
in interface Registry
id
- Identifier created by a call to Registry.createId(java.lang.String)
public Counter counter(DynamicId id)
Registry
counter
in interface Registry
id
- Identifier created by a call to Registry.createDynamicId(java.lang.String)
public DistributionSummary distributionSummary(Id id)
Registry
distributionSummary
in interface Registry
id
- Identifier created by a call to Registry.createId(java.lang.String)
public Timer timer(Id id)
Registry
timer
in interface Registry
id
- Identifier created by a call to Registry.createId(java.lang.String)
public Meter get(Id id)
Registry
public Iterator<Meter> iterator()
Registry