| 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) |
MetricId |
MetricIdCache.Cache.get(MetricId metricId,
T key) |
static MetricId |
MetricId.join(MetricId... parts)
Join the specified set of metric names.
|
MetricId |
MetricIdCache.Loader.load(MetricId id,
T key) |
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.
|
| 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 © 2016. All rights reserved.