Skip navigation links
B C D 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
 
counter(MetricId) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteCounter and registers it under the given name.
counter(MetricId, List<String>) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteCounter and registers it under the given name.

D

dec() - Method in interface com.spotify.metrics.core.RemoteCounter
 
dec(long) - Method in interface com.spotify.metrics.core.RemoteCounter
 
derivingMeter(MetricId, List<String>) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteMeter and registers it under the given name.
derivingMeter(MetricId) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteMeter and registers it under the given name.

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
 
histogram(MetricId, List<String>) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteMeter and registers it under the given name.
histogram(MetricId) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteMeter and registers it under the given name.

I

inc() - Method in interface com.spotify.metrics.core.RemoteCounter
 
inc(long) - Method in interface com.spotify.metrics.core.RemoteCounter
 
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
 
mark() - Method in interface com.spotify.metrics.core.RemoteDerivingMeter
 
mark(long) - Method in interface com.spotify.metrics.core.RemoteDerivingMeter
 
mark() - Method in interface com.spotify.metrics.core.RemoteMeter
 
mark(long) - Method in interface com.spotify.metrics.core.RemoteMeter
 
meter(MetricId, List<String>) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteMeter and registers it under the given name.
meter(MetricId) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteMeter and registers it under the given name.
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

RemoteCounter - Interface in com.spotify.metrics.core
Like a coda hale Counter, but remoter.
RemoteDerivingMeter - Interface in com.spotify.metrics.core
Like a coda hale Meter, but remoter.
RemoteHistogram - Interface in com.spotify.metrics.core
Like a coda hale Histogram, but remoter.
RemoteMeter - Interface in com.spotify.metrics.core
Like a coda hale Meter, but remoter.
RemoteMetric - Interface in com.spotify.metrics.core
Like a coda hale Metric, but remoter.
RemoteSemanticMetricRegistry - Interface in com.spotify.metrics.core
Interface for arbitrary implementation of a MetricRegistry that does not need to be running locally in the current process.
RemoteTimer - Interface in com.spotify.metrics.core
Like a coda hale Timer, but remoter.
RemoteTimer.Context - Interface in com.spotify.metrics.core
 
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
 
shutdown(long, TimeUnit) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Stop accepting new metrics to be sent and wait for all asynchronous calls to be done or the timeout to occur.
stop() - Method in interface com.spotify.metrics.core.RemoteTimer.Context
 

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.
time() - Method in interface com.spotify.metrics.core.RemoteTimer
 
timer(MetricId) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteTimer and registers it under the given name.
timer(MetricId, List<String>) - Method in interface com.spotify.metrics.core.RemoteSemanticMetricRegistry
Creates a new RemoteTimer and registers it under the given name.
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.
update(long) - Method in interface com.spotify.metrics.core.RemoteHistogram
 
B C D E G H I J L M R S T U 
Skip navigation links

Copyright © 2017. All rights reserved.