Skip navigation links
B C E G H I J L M R S T U 

B

build(String...) - Static method in class com.spotify.metrics.core.MetricId
Build a new metric name using the specific path components.
build(MetricIdCache.Loader<T>) - Method in interface com.spotify.metrics.core.MetricIdCache.CacheBuilder
 
build() - Method in interface com.spotify.metrics.core.MetricIdCache.MapBuilder
 
build() - Method in class com.spotify.metrics.core.MetricIdCache.Typed
Build a cache with the given MetricId base.
builder() - Static method in class com.spotify.metrics.core.MetricIdCache
 

C

cache(MetricIdCache.Cache<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
cache(ConcurrentMap<T, MetricId>, MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
cache(MetricIdCache.Cache<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
Use a shared cache.
cache(ConcurrentMap<T, MetricId>, MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
Configure a specific cache instance, use this if you wish for the consequent builders to re-use the same cache instance.
cacheBuilder(MetricIdCache.CacheBuilder) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
cacheBuilder(MetricIdCache.CacheBuilder) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
 
com.spotify.metrics.core - package com.spotify.metrics.core
 
compareTo(MetricId) - Method in class com.spotify.metrics.core.MetricId
 

E

EMPTY - Static variable in class com.spotify.metrics.core.MetricId
 
EMPTY_TAGS - Static variable in class com.spotify.metrics.core.MetricId
 
equals(Object) - Method in class com.spotify.metrics.core.MetricId
 

G

get(MetricId, T) - Method in interface com.spotify.metrics.core.MetricIdCache.Cache
 
get(T) - Method in class com.spotify.metrics.core.MetricIdCache
Get the value for the specified key.
getKey() - Method in class com.spotify.metrics.core.MetricId
Get the current key of the metric id.
getTags() - Method in class com.spotify.metrics.core.MetricId
Get the current set of tags.

H

hashCode() - Method in class com.spotify.metrics.core.MetricId
 

I

invalidate(T) - Method in interface com.spotify.metrics.core.MetricIdCache.Cache
 
invalidate(T) - Method in class com.spotify.metrics.core.MetricIdCache
 
invalidateAll() - Method in interface com.spotify.metrics.core.MetricIdCache.Cache
 
invalidateAll() - Method in class com.spotify.metrics.core.MetricIdCache
 

J

join(MetricId...) - Static method in class com.spotify.metrics.core.MetricId
Join the specified set of metric names.

L

load(MetricId, T) - Method in interface com.spotify.metrics.core.MetricIdCache.Loader
 
loader(MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
loader(MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
 

M

mapBuilder(MetricIdCache.MapBuilder, MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
mapBuilder(MetricIdCache.MapBuilder) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
mapBuilder(MetricIdCache.MapBuilder, MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
 
mapBuilder(MetricIdCache.MapBuilder) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
 
MetricId - Class in com.spotify.metrics.core
A metric name with the ability to include semantic tags.
MetricId() - Constructor for class com.spotify.metrics.core.MetricId
 
MetricId(String) - Constructor for class com.spotify.metrics.core.MetricId
 
MetricId(String, Map<String, String>) - Constructor for class com.spotify.metrics.core.MetricId
 
metricId(MetricId) - Method in class com.spotify.metrics.core.MetricIdCache.Any
Set the given base metric id for the cache.
metricId(MetricId) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
Configure a base metric id.
MetricIdCache<T> - Class in com.spotify.metrics.core
A utility class that simplifies mutating and storing a MetricId.
MetricIdCache.Any - Class in com.spotify.metrics.core
A metric id cache builder that can take any type.
MetricIdCache.Cache<T> - Interface in com.spotify.metrics.core
 
MetricIdCache.CacheBuilder - Interface in com.spotify.metrics.core
 
MetricIdCache.Loader<T> - Interface in com.spotify.metrics.core
 
MetricIdCache.MapBuilder - Interface in com.spotify.metrics.core
 
MetricIdCache.Typed<T> - Class in com.spotify.metrics.core
A builder for which the metric id cache has a given type.

R

resolve(String) - Method in class com.spotify.metrics.core.MetricId
Build the MetricName that is this with another path appended to it.

S

SEPARATOR - Static variable in class com.spotify.metrics.core.MetricId
 

T

tagged(Map<String, String>) - Method in class com.spotify.metrics.core.MetricId
Add tags to a metric name and return the newly created MetricName.
tagged(String...) - Method in class com.spotify.metrics.core.MetricId
Same as tagged(Map), but takes a variadic list of arguments.
toString() - Method in class com.spotify.metrics.core.MetricId
 

U

unbounded(MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Any
 
unbounded(MetricIdCache.Loader<T>) - Method in class com.spotify.metrics.core.MetricIdCache.Typed
Allows an unbounded cache.
B C E G H I J L M R S T U 
Skip navigation links

Copyright © 2016. All rights reserved.