- AbstractConfigMap - Class in com.netflix.spectator.api
-
Base class for ConfigMap
implementations.
- AbstractConfigMap() - Constructor for class com.netflix.spectator.api.AbstractConfigMap
-
- AbstractMeter<T> - Class in com.netflix.spectator.api
-
Helper base class for meters that maintains a weak reference to the object being measured.
- AbstractMeter(Clock, Id, T) - Constructor for class com.netflix.spectator.api.AbstractMeter
-
Create a new instance.
- AbstractRegistry - Class in com.netflix.spectator.api
-
Base class to make it easier to implement a simple registry that only needs to customise the
types returned for Counter, DistributionSummary, and Timer calls.
- AbstractRegistry(Clock) - Constructor for class com.netflix.spectator.api.AbstractRegistry
-
Create a new instance.
- activeTasks() - Method in interface com.netflix.spectator.api.LongTaskTimer
-
Returns the current number of tasks being executed.
- addAndGet(double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Add amount
to the value and return the new value.
- AGE - Static variable in class com.netflix.spectator.api.Functions
-
Age function based on the system clock.
- age(Clock) - Static method in class com.netflix.spectator.api.Functions
-
Returns a function that computes the age in seconds.
- apply(Object) - Method in class com.netflix.spectator.api.DoubleFunction
-
- apply(double) - Method in class com.netflix.spectator.api.DoubleFunction
-
Apply a transform to the value `v`.
- apply(T) - Method in interface com.netflix.spectator.api.Predicate
-
Evaluates this predicate on a given value.
- apply(Object) - Method in interface com.netflix.spectator.api.ValueFunction
-
Returns a double value based on the object ref
.
- AtomicDouble - Class in com.netflix.spectator.impl
-
Wrapper around AtomicLong to make working with double values easier.
- AtomicDouble() - Constructor for class com.netflix.spectator.impl.AtomicDouble
-
Create an instance with an initial value of 0.
- AtomicDouble(double) - Constructor for class com.netflix.spectator.impl.AtomicDouble
-
Create an instance with an initial value of init
.
- checkNotNull(T, String) - Static method in class com.netflix.spectator.impl.Preconditions
-
Ensures the object reference is not null.
- checkState(boolean, String) - Static method in class com.netflix.spectator.impl.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance.
- clock - Variable in class com.netflix.spectator.api.AbstractMeter
-
Clock to use for getting measurement timestamps.
- clock() - Method in class com.netflix.spectator.api.AbstractRegistry
-
- Clock - Interface in com.netflix.spectator.api
-
A timing source that can be used to access the current wall time as well as a high resolution
monotonic time to measuring elapsed times.
- clock() - Method in class com.netflix.spectator.api.ExtendedRegistry
-
- clock() - Method in class com.netflix.spectator.api.NoopRegistry
-
- clock() - Method in interface com.netflix.spectator.api.Registry
-
The clock used by the registry for timing events.
- COLLECTION_SIZE - Static variable in class com.netflix.spectator.api.Functions
-
Returns the size of the collection.
- collectionSize(Id, T) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the size of the
Collection
.
- collectionSize(String, T) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the size of the
Collection
.
- com.netflix.spectator.api - package com.netflix.spectator.api
-
Primary interfaces for working with spectator.
- com.netflix.spectator.impl - package com.netflix.spectator.impl
-
- compareAndSet(double, double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Set the value to amount
if the current value is expect
.
- config() - Static method in class com.netflix.spectator.api.Spectator
-
Return the config implementation being used.
- ConfigMap - Interface in com.netflix.spectator.api
-
Configuration settings.
- count() - Method in interface com.netflix.spectator.api.Counter
-
The cumulative count since this counter was created.
- count() - Method in interface com.netflix.spectator.api.DistributionSummary
-
The number of times that record has been called since this timer was created.
- count() - Method in interface com.netflix.spectator.api.Timer
-
The number of times that record has been called since this timer was created.
- counter(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- Counter - Interface in com.netflix.spectator.api
-
Measures the rate of change based on calls to increment.
- counter(Id) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
- counter(String) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Measures the rate of some activity.
- counter(String, Iterable<Tag>) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Measures the rate of some activity.
- counter(String, String...) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Measures the rate of some activity.
- counter(Id) - Method in class com.netflix.spectator.api.NoopRegistry
-
- counter(Id) - Method in interface com.netflix.spectator.api.Registry
-
Measures the rate of some activity.
- createId(String) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- createId(String, Iterable<Tag>) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- createId(String) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
- createId(String, Iterable<Tag>) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
- createId(String, String...) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Creates an identifier for a meter.
- createId(String) - Method in class com.netflix.spectator.api.NoopRegistry
-
- createId(String, Iterable<Tag>) - Method in class com.netflix.spectator.api.NoopRegistry
-
- createId(String) - Method in interface com.netflix.spectator.api.Registry
-
Creates an identifier for a meter.
- createId(String, Iterable<Tag>) - Method in interface com.netflix.spectator.api.Registry
-
Creates an identifier for a meter.
- gauge(Id, T) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the value of the
Number
.
- gauge(String, T) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the value of the
Number
.
- gauge(String, Iterable<Tag>, T) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the value of the
Number
.
- gauge(Id, T, ValueFunction) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the value of the object after the function
f
is applied.
- gauge(String, T, ValueFunction) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Register a gauge that reports the value of the object.
- Gauge - Interface in com.netflix.spectator.api
-
A meter with a single value that can only be sampled at a point in time.
- get(String, String) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- get(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- get(String) - Method in interface com.netflix.spectator.api.ConfigMap
-
Returns the property value associated with a given key or null if no value is set.
- get(String, String) - Method in interface com.netflix.spectator.api.ConfigMap
-
Returns the property value associated with a given key.
- get(Id) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
- get(Id) - Method in class com.netflix.spectator.api.NoopRegistry
-
- get(Id) - Method in interface com.netflix.spectator.api.Registry
-
Returns the meter associated with a given id.
- get(String) - Method in class com.netflix.spectator.api.SystemConfigMap
-
- get() - Method in class com.netflix.spectator.impl.AtomicDouble
-
Return the current value.
- getAndAdd(double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Add amount
to the value and return the previous value.
- getAndSet(double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Set the value to amount
and return the previous value.
- getBoolean(String) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getBoolean(String, boolean) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getBoolean(String) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an boolean value associated with a given key.
- getBoolean(String, boolean) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an boolean value associated with a given key.
- getCurrent() - Method in class com.netflix.spectator.impl.StepDouble
-
Get the AtomicDouble for the current bucket.
- getCurrent() - Method in class com.netflix.spectator.impl.StepLong
-
Get the AtomicLong for the current bucket.
- getDouble(String) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getDouble(String, double) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getDouble(String) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an double value associated with a given key.
- getDouble(String, double) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an double value associated with a given key.
- getInt(String) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getInt(String, int) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getInt(String) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an int value associated with a given key.
- getInt(String, int) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an int value associated with a given key.
- getLong(String) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getLong(String, long) - Method in class com.netflix.spectator.api.AbstractConfigMap
-
- getLong(String) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an long value associated with a given key.
- getLong(String, long) - Method in interface com.netflix.spectator.api.ConfigMap
-
Get an long value associated with a given key.
- getTagValue(Id, String) - Static method in class com.netflix.spectator.api.Utils
-
Returns the value associated with with a given key or null if no such key is present in the
set of tags.
- getTagValue(Iterable<Tag>, String) - Static method in class com.netflix.spectator.api.Utils
-
Returns the value associated with with a given key or null if no such key is present in the
set of tags.