| Modifier and Type | Field and Description |
|---|---|
static MetricId |
MetricId.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static MetricId |
MetricId.build(String... parts)
Build a new metric name using the specific path components.
|
MetricId |
MetricIdCache.Cache.get(MetricId metricId,
T key) |
MetricId |
MetricIdCache.get(T key)
Get the value for the specified key.
|
static MetricId |
MetricId.join(MetricId... parts)
Join the specified set of metric names.
|
MetricId |
MetricIdCache.Loader.load(MetricId id,
T key) |
MetricId |
MetricId.resolve(String part)
Build the MetricName that is this with another path appended to it.
|
MetricId |
MetricId.tagged(Map<String,String> add)
Add tags to a metric name and return the newly created MetricName.
|
MetricId |
MetricId.tagged(String... pairs)
Same as
tagged(Map), but takes a variadic list of arguments. |
| Modifier and Type | Method and Description |
|---|---|
<T> ConcurrentMap<T,MetricId> |
MetricIdCache.MapBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
int |
MetricId.compareTo(MetricId o) |
RemoteCounter |
RemoteSemanticMetricRegistry.counter(MetricId name)
Creates a new
RemoteCounter and registers it under the given name. |
RemoteCounter |
RemoteSemanticMetricRegistry.counter(MetricId name,
List<String> shardKey)
Creates a new
RemoteCounter and registers it under the given name. |
RemoteDerivingMeter |
RemoteSemanticMetricRegistry.derivingMeter(MetricId name)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteDerivingMeter |
RemoteSemanticMetricRegistry.derivingMeter(MetricId name,
List<String> shardKey)
Creates a new
RemoteMeter and registers it under the given name. |
MetricId |
MetricIdCache.Cache.get(MetricId metricId,
T key) |
RemoteHistogram |
RemoteSemanticMetricRegistry.histogram(MetricId name)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteHistogram |
RemoteSemanticMetricRegistry.histogram(MetricId name,
List<String> shardKey)
Creates a new
RemoteMeter and registers it under the given name. |
static MetricId |
MetricId.join(MetricId... parts)
Join the specified set of metric names.
|
MetricId |
MetricIdCache.Loader.load(MetricId id,
T key) |
RemoteMeter |
RemoteSemanticMetricRegistry.meter(MetricId name)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteMeter |
RemoteSemanticMetricRegistry.meter(MetricId name,
List<String> shardKey)
Creates a new
RemoteMeter and registers it under the given name. |
MetricIdCache.Typed<T> |
MetricIdCache.Typed.metricId(MetricId base)
Configure a base metric id.
|
MetricIdCache.Any |
MetricIdCache.Any.metricId(MetricId metricId)
Set the given base metric id for the cache.
|
RemoteTimer |
RemoteSemanticMetricRegistry.timer(MetricId name)
Creates a new
RemoteTimer and registers it under the given name. |
RemoteTimer |
RemoteSemanticMetricRegistry.timer(MetricId name,
List<String> shardKey)
Creates a new
RemoteTimer and registers it under the given name. |
| Modifier and Type | Method and Description |
|---|---|
MetricIdCache.Typed<T> |
MetricIdCache.Typed.cache(ConcurrentMap<T,MetricId> map,
MetricIdCache.Loader<T> loader)
Configure a specific cache instance, use this if you wish for the consequent builders to
re-use the same cache instance.
|
<T> MetricIdCache.Typed<T> |
MetricIdCache.Any.cache(ConcurrentMap<T,MetricId> cache,
MetricIdCache.Loader<T> loader) |
Copyright © 2017. All rights reserved.