- 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.
- AbstractRegistry(Clock, RegistryConfig) - Constructor for class com.netflix.spectator.api.AbstractRegistry
-
Create a new instance.
- AbstractTimer - Class in com.netflix.spectator.api
-
Base class to simplify implementing a
Timer
.
- AbstractTimer(Clock) - Constructor for class com.netflix.spectator.api.AbstractTimer
-
Create a new instance.
- activeTasks() - Method in interface com.netflix.spectator.api.LongTaskTimer
-
Returns the current number of tasks being executed.
- activeTasks() - Method in class com.netflix.spectator.api.patterns.LongTaskTimer
-
- actualCount() - Method in interface com.netflix.spectator.api.Counter
-
The cumulative count as a floating point value since this counter was last reset.
- actualCount() - Method in class com.netflix.spectator.api.patterns.IntervalCounter
-
- add(Registry) - Method in class com.netflix.spectator.api.CompositeRegistry
-
Add a registry to the composite.
- add(double) - Method in interface com.netflix.spectator.api.Counter
-
Update the counter by the specified amount.
- add(double) - Method in class com.netflix.spectator.api.patterns.IntervalCounter
-
- 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.
- age(long, TimeUnit) - Static method in class com.netflix.spectator.api.histogram.BucketFunctions
-
Returns a function that maps age values to a set of buckets.
- ageBiasOld(long, TimeUnit) - Static method in class com.netflix.spectator.api.histogram.BucketFunctions
-
Returns a function that maps age values to a set of buckets.
- all() - Static method in class com.netflix.spectator.impl.AsciiSet
-
Returns a set that matches all ascii characters.
- alwaysMatches() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns true if this matcher will match any string.
- apply(double) - Method in class com.netflix.spectator.api.DoubleFunction
-
Apply a transform to the value `v`.
- applyAsDouble(T) - Method in class com.netflix.spectator.api.DoubleFunction
-
- asArray() - Static method in class com.netflix.spectator.api.histogram.PercentileBuckets
-
Returns a copy of the bucket values array.
- AsciiSet - Class in com.netflix.spectator.impl
-
Utility class for quickly checking if a string contains only characters contained within
the given set.
- asMap() - Method in interface com.netflix.spectator.impl.Cache
-
Returns a map containing a snapshot of the cache.
- 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
.
- attach(Registry, ThreadPoolExecutor, String) - Static method in class com.netflix.spectator.api.patterns.ThreadPoolMonitor
-
Register the provided thread pool, optionally tagged with a name.
- AUTO_ROLLUP - Static variable in class com.netflix.spectator.api.patterns.CardinalityLimiters
-
Replacement value that is used if the values are rolled up.
- Cache<K,V> - Interface in com.netflix.spectator.impl
-
Simple in-memory cache based on ConcurrentHashMap with minimal dependencies.
- CardinalityLimiters - Class in com.netflix.spectator.api.patterns
-
Helper functions to help manage the cardinality of tag values.
- character() - Method in class com.netflix.spectator.impl.AsciiSet
-
If this set matches a single character, then return an optional with that character.
- checkArg(boolean, String) - Static method in class com.netflix.spectator.impl.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance.
- 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.
- clear() - Method in interface com.netflix.spectator.impl.Cache
-
Remove all entries from the cache.
- 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 - Variable in class com.netflix.spectator.api.AbstractTimer
-
Clock to use for measuring the time of calls.
- 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.CompositeRegistry
-
- clock() - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- 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.
- collectionSize(Id, T) - Method in interface com.netflix.spectator.api.Registry
-
- collectionSize(String, T) - Method in interface com.netflix.spectator.api.Registry
-
- com.netflix.spectator.api - package com.netflix.spectator.api
-
Primary interfaces for working with spectator.
- com.netflix.spectator.api.histogram - package com.netflix.spectator.api.histogram
-
- com.netflix.spectator.api.patterns - package com.netflix.spectator.api.patterns
-
- com.netflix.spectator.impl - package com.netflix.spectator.impl
-
Classes in this package are only intended for use internally within spectator.
- com.netflix.spectator.impl.matcher - package com.netflix.spectator.impl.matcher
-
- compareAndSet(double, double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Set the value to amount
if the current value is expect
.
- compile(String) - Static method in class com.netflix.spectator.impl.matcher.PatternUtils
-
Compile a pattern string and return a matcher that can be used to check if string values
match the pattern.
- compile(String) - Static method in interface com.netflix.spectator.impl.PatternMatcher
-
Compile a pattern string and return a matcher that can be used to check if string values
match the pattern.
- CompositeRegistry - Class in com.netflix.spectator.api
-
Maps calls to zero or more sub-registries.
- computeIfAbsent(ConcurrentMap<K, V>, K, Function<K, V>) - Static method in class com.netflix.spectator.api.Utils
-
- computeIfAbsent(K, Function<K, V>) - Method in interface com.netflix.spectator.impl.Cache
-
Returns the cached value associated with the key if present, otherwise computes a value
using the provided function.
- config() - Method in class com.netflix.spectator.api.AbstractRegistry
-
- config() - Method in interface com.netflix.spectator.api.Registry
-
Configuration settings used for this registry.
- Config - Class in com.netflix.spectator.impl
-
Helper methods for accessing configuration settings.
- contains(char) - Method in class com.netflix.spectator.impl.AsciiSet
-
Returns true if the character contained within the set.
- containsAll(CharSequence) - Method in class com.netflix.spectator.impl.AsciiSet
-
Returns true if all characters in the string are contained within the set.
- control() - Static method in class com.netflix.spectator.impl.AsciiSet
-
Returns a set that matches ascii control characters.
- count() - Method in interface com.netflix.spectator.api.Counter
-
The cumulative count since this counter was last reset.
- count() - Method in interface com.netflix.spectator.api.DistributionSummary
-
The number of times that record has been called since this timer was last reset.
- count() - Method in class com.netflix.spectator.api.histogram.BucketCounter
-
Not supported, will always return 0.
- count() - Method in class com.netflix.spectator.api.histogram.BucketDistributionSummary
-
Not supported, will always return 0.
- count() - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
Not supported, will always return 0.
- count() - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
- count() - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- count() - Method in interface com.netflix.spectator.api.Timer
-
The number of times that record has been called since this timer was last reset.
- counter(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- counter(Id) - Method in class com.netflix.spectator.api.CompositeRegistry
-
- 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
-
Deprecated.
- 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.
- counter(String) - Method in interface com.netflix.spectator.api.Registry
-
Measures the rate of some activity.
- counter(String, Iterable<Tag>) - Method in interface com.netflix.spectator.api.Registry
-
Measures the rate of some activity.
- counter(String, String...) - Method in interface com.netflix.spectator.api.Registry
-
Measures the rate of some activity.
- counters() - Method in interface com.netflix.spectator.api.Registry
-
Returns a stream of all registered counters.
- create(String) - Static method in interface com.netflix.spectator.api.Id
-
Create an immutable Id with the provided name.
- 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.CompositeRegistry
-
- createId(String, Iterable<Tag>) - Method in class com.netflix.spectator.api.CompositeRegistry
-
- createId(String) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- createId(String, Iterable<Tag>) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- 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.
- createId(String, String...) - Method in interface com.netflix.spectator.api.Registry
-
Creates an identifier for a meter.
- createId(String, Map<String, String>) - Method in interface com.netflix.spectator.api.Registry
-
Creates an identifier for a meter.
- createTypeBuilder(Id) - Method in class com.netflix.spectator.api.patterns.IdBuilder
-
Sub-classes should override this method to create the more specific builder type.
- filter(BiPredicate<String, String>) - Method in interface com.netflix.spectator.api.Id
-
Return a new tag list with only tags that match the predicate.
- filter(BiPredicate<String, String>) - Method in interface com.netflix.spectator.api.TagList
-
Return a new tag list with only tags that match the predicate.
- filter(Iterable<Measurement>, Tag) - Static method in class com.netflix.spectator.api.Utils
-
Returns a new iterable restricted to measurements that match the predicate.
- filter(Iterable<Measurement>, String, String) - Static method in class com.netflix.spectator.api.Utils
-
Returns a new iterable restricted to measurements that match the predicate.
- filter(Iterable<Measurement>, Predicate<Measurement>) - Static method in class com.netflix.spectator.api.Utils
-
Returns a new iterable restricted to measurements that match the predicate.
- filterByKey(Predicate<String>) - Method in interface com.netflix.spectator.api.Id
-
Return a new tag list with only tags with keys that match the predicate.
- filterByKey(Predicate<String>) - Method in interface com.netflix.spectator.api.TagList
-
Return a new tag list with only tags with keys that match the predicate.
- first(int) - Static method in class com.netflix.spectator.api.patterns.CardinalityLimiters
-
Restrict the cardinality of the input to the first n
values that are seen.
- first(Iterable<Measurement>, Tag) - Static method in class com.netflix.spectator.api.Utils
-
Returns the first measurement with a given tag value.
- first(Iterable<Measurement>, String, String) - Static method in class com.netflix.spectator.api.Utils
-
Returns the first measurement with a given tag value.
- first(Iterable<Measurement>, Predicate<Measurement>) - Static method in class com.netflix.spectator.api.Utils
-
Returns the first measurement that matches the predicate.
- floatValue() - Method in class com.netflix.spectator.impl.AtomicDouble
-
- forEach(BiConsumer<String, String>) - Method in interface com.netflix.spectator.api.TagList
-
Apply the consumer function for each tag in the list.
- fromPattern(String) - Static method in class com.netflix.spectator.impl.AsciiSet
-
Create a set containing ascii characters using a simple pattern.
- Functions - Class in com.netflix.spectator.api
-
Common functions for use with gauges.
- gauge(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- gauge(Id) - Method in class com.netflix.spectator.api.CompositeRegistry
-
- gauge(Id) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- Gauge - Interface in com.netflix.spectator.api
-
A meter with a single value that can only be sampled at a point in time.
- gauge(Id) - Method in class com.netflix.spectator.api.NoopRegistry
-
- gauge(Id) - Method in interface com.netflix.spectator.api.Registry
-
Represents a value sampled from another source.
- gauge(String) - Method in interface com.netflix.spectator.api.Registry
-
Represents a value sampled from another source.
- gauge(String, Iterable<Tag>) - Method in interface com.netflix.spectator.api.Registry
-
Represents a value sampled from another source.
- gauge(String, String...) - Method in interface com.netflix.spectator.api.Registry
-
Represents a value sampled from another source.
- gauge(Id, T) - Method in interface com.netflix.spectator.api.Registry
-
- gauge(String, T) - Method in interface com.netflix.spectator.api.Registry
-
- gauge(String, Iterable<Tag>, T) - Method in interface com.netflix.spectator.api.Registry
-
- gauge(Id, T, ToDoubleFunction<T>) - Method in interface com.netflix.spectator.api.Registry
-
- gauge(String, T, ToDoubleFunction<T>) - Method in interface com.netflix.spectator.api.Registry
-
- gaugePollingFrequency() - Method in interface com.netflix.spectator.api.RegistryConfig
-
How often registered gauges should get polled.
- gauges() - Method in interface com.netflix.spectator.api.Registry
-
Returns a stream of all registered gauges.
- get(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- get(Id) - Method in class com.netflix.spectator.api.CompositeRegistry
-
- get(Id) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- get(Registry, Id, LongFunction<String>) - Static method in class com.netflix.spectator.api.histogram.BucketCounter
-
Creates a distribution summary object that manages a set of counters based on the bucket
function supplied.
- get(Registry, Id, LongFunction<String>) - Static method in class com.netflix.spectator.api.histogram.BucketDistributionSummary
-
Creates a distribution summary object that manages a set of distribution summaries based on
the bucket function supplied.
- get(Registry, Id, LongFunction<String>) - Static method in class com.netflix.spectator.api.histogram.BucketTimer
-
Creates a timer object that manages a set of timers based on the bucket
function supplied.
- get(int) - Static method in class com.netflix.spectator.api.histogram.PercentileBuckets
-
Return the value of the bucket at index i
.
- get(Registry, Id) - Static method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
Creates a distribution summary object that can be used for estimating percentiles.
- get(Registry, Id) - Static method in class com.netflix.spectator.api.histogram.PercentileTimer
-
Creates a timer object that can be used for estimating percentiles.
- get(Id) - Method in class com.netflix.spectator.api.NoopRegistry
-
- get(Registry, Id) - Static method in class com.netflix.spectator.api.patterns.IntervalCounter
-
Create a new instance.
- get(Registry, Id) - Static method in class com.netflix.spectator.api.patterns.LongTaskTimer
-
Creates a timer for tracking long running tasks.
- get(Id) - Method in interface com.netflix.spectator.api.Registry
-
Returns the meter associated with a given id.
- get(String) - Method in interface com.netflix.spectator.api.RegistryConfig
-
Get the value associated with a key.
- get() - Method in class com.netflix.spectator.impl.AtomicDouble
-
Return the current value.
- get(K) - Method in interface com.netflix.spectator.impl.Cache
-
Returns the cached value associated with the key or null if none is found.
- get() - Method in class com.netflix.spectator.impl.SwapMeter
-
Return the underlying instance of the meter.
- 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.
- 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.
- getKey(int) - Method in interface com.netflix.spectator.api.Id
-
Return the key at the specified index.
- getKey(int) - Method in interface com.netflix.spectator.api.TagList
-
Return the key at the specified index.
- getOrCreate(Id, Class<T>, T, Function<Id, T>) - Method in class com.netflix.spectator.api.AbstractRegistry
-
Helper used to get or create an instance of a core meter type.
- getTag(int) - Method in interface com.netflix.spectator.api.TagList
-
Return the tag at the specified index.
- 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.
- getValue(int) - Method in interface com.netflix.spectator.api.Id
-
Return the value at the specified index.
- getValue(int) - Method in interface com.netflix.spectator.api.TagList
-
Return the value at the specified index.
- getValue(Iterable<T>, int) - Static method in class com.netflix.spectator.api.Utils
-
Return the value at a given position in the iterable.
- globalRegistry() - Static method in class com.netflix.spectator.api.Spectator
-
Returns the global composite registry.
- id - Variable in class com.netflix.spectator.api.AbstractMeter
-
Identifier for the meter.
- id() - Method in class com.netflix.spectator.api.AbstractMeter
-
- id() - Method in class com.netflix.spectator.api.histogram.BucketCounter
-
- id() - Method in class com.netflix.spectator.api.histogram.BucketDistributionSummary
-
- id() - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
- id() - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
- id() - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- Id - Interface in com.netflix.spectator.api
-
Identifier for a meter or measurement.
- id() - Method in class com.netflix.spectator.api.Measurement
-
Identifier for the measurement.
- id() - Method in interface com.netflix.spectator.api.Meter
-
Identifier used to lookup this meter in the registry.
- id() - Method in class com.netflix.spectator.api.patterns.IntervalCounter
-
- id() - Method in class com.netflix.spectator.api.patterns.LongTaskTimer
-
- id - Variable in class com.netflix.spectator.impl.SwapMeter
-
Id to use when performing a lookup after expiration.
- id() - Method in class com.netflix.spectator.impl.SwapMeter
-
- IdBuilder<T> - Class in com.netflix.spectator.api.patterns
-
Base type for builders that are required to construct an
Id
object.
- IdBuilder(Registry) - Constructor for class com.netflix.spectator.api.patterns.IdBuilder
-
Create a new instance.
- IDENTITY - Static variable in class com.netflix.spectator.api.Functions
-
Identity function that just returns the passed in value if it implements the
Number
interface.
- ignoreCase() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns a new matcher that matches the same pattern only ignoring the case of the input
string.
- increment() - Method in interface com.netflix.spectator.api.Counter
-
Update the counter by one.
- increment(long) - Method in interface com.netflix.spectator.api.Counter
-
Update the counter by amount
.
- indexOf(long) - Static method in class com.netflix.spectator.api.histogram.PercentileBuckets
-
Returns the value the index of the bucket that should be used for v
.
- intersection(AsciiSet) - Method in class com.netflix.spectator.impl.AsciiSet
-
Returns a new set that will match characters iff they are included this set and in the
set that is provided.
- IntervalCounter - Class in com.netflix.spectator.api.patterns
-
A counter that also keeps track of the time since last update.
- intValue() - Method in class com.netflix.spectator.impl.AtomicDouble
-
- invert() - Method in class com.netflix.spectator.impl.AsciiSet
-
Returns a new set that will match characters that are not included this set.
- invokeMethod(Method) - Static method in class com.netflix.spectator.api.Functions
-
Returns a function that invokes a method on the object via reflection.
- isEmpty() - Method in class com.netflix.spectator.impl.AsciiSet
-
Returns true if this set is isEmpty.
- isEndAnchored() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns true if the pattern is anchored to the end of the string.
- isStartAnchored() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns true if the pattern is anchored to the start of the string.
- iterator() - Method in class com.netflix.spectator.api.AbstractRegistry
-
- iterator() - Method in class com.netflix.spectator.api.CompositeRegistry
-
- iterator() - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- iterator() - Method in class com.netflix.spectator.api.NoopRegistry
-
- iterator() - Method in interface com.netflix.spectator.api.Registry
-
Iterator for traversing the set of meters in the registry.
- iterator() - Method in interface com.netflix.spectator.api.TagList
-
- ManualClock - Class in com.netflix.spectator.api
-
Clock implementation that allows the user to explicitly control the time.
- ManualClock() - Constructor for class com.netflix.spectator.api.ManualClock
-
Create a new instance.
- ManualClock(long, long) - Constructor for class com.netflix.spectator.api.ManualClock
-
Create a new instance.
- map(Class<T>, Function<Long, T>) - Static method in class com.netflix.spectator.api.histogram.PercentileBuckets
-
Map the bucket values to a new array of a different type.
- mapSize(Id, T) - Method in interface com.netflix.spectator.api.Registry
-
- mapSize(String, T) - Method in interface com.netflix.spectator.api.Registry
-
- matches(String) - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns true if the passed in string matches the pattern.
- matches(String, String) - Static method in interface com.netflix.spectator.impl.PatternMatcher
-
Helper function to check if a string value matches the provided pattern.
- max(double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Set the current value to the maximum of the current value or the provided value.
- maxGauge(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- maxGauge(Id) - Method in class com.netflix.spectator.api.CompositeRegistry
-
- maxGauge(Id) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- maxGauge(Id) - Method in class com.netflix.spectator.api.NoopRegistry
-
- maxGauge(Id) - Method in interface com.netflix.spectator.api.Registry
-
Measures the maximum value recorded since the last reset.
- maxGauge(String) - Method in interface com.netflix.spectator.api.Registry
-
Measures the maximum value recorded since the last reset.
- maxGauge(String, Iterable<Tag>) - Method in interface com.netflix.spectator.api.Registry
-
Measures the maximum value recorded since the last reset.
- maxGauge(String, String...) - Method in interface com.netflix.spectator.api.Registry
-
Measures the maximum value recorded since the last reset.
- maxNumberOfMeters() - Method in interface com.netflix.spectator.api.RegistryConfig
-
For classes based on
AbstractRegistry
this setting is used
to determine the maximum number of registered meters permitted.
- measure() - Method in class com.netflix.spectator.api.histogram.BucketCounter
-
- measure() - Method in class com.netflix.spectator.api.histogram.BucketDistributionSummary
-
- measure() - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
- measure() - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
- measure() - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- measure() - Method in interface com.netflix.spectator.api.Meter
-
Get the set of measurements for this meter.
- measure() - Method in class com.netflix.spectator.api.patterns.IntervalCounter
-
- measure() - Method in class com.netflix.spectator.api.patterns.LongTaskTimer
-
- measure() - Method in class com.netflix.spectator.impl.SwapMeter
-
- Measurement - Class in com.netflix.spectator.api
-
A measurement sampled from a meter.
- Measurement(Id, long, double) - Constructor for class com.netflix.spectator.api.Measurement
-
Create a new instance.
- measurements() - Method in interface com.netflix.spectator.api.Registry
-
Returns a stream with the current flattened set of measurements across all meters.
- Meter - Interface in com.netflix.spectator.api
-
A device for collecting a set of measurements.
- methodValue(Id, Object, String) - Method in interface com.netflix.spectator.api.Registry
-
- methodValue(String, Object, String) - Method in interface com.netflix.spectator.api.Registry
-
- minLength() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
The minimum possible length of a matching string.
- monitorMeter(Registry, Meter) - Static method in class com.netflix.spectator.api.patterns.PolledMeter
-
- monitorMonotonicCounter(T) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Poll the value of the provided
Number
and update a counter with the delta
since the last time the value was sampled.
- monitorMonotonicCounter(T, ToLongFunction<T>) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Map a monotonically increasing long or int value to a counter.
- monitorSize(T) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
- monitorSize(T) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Poll the value of the provided
Map
.
- monitorStaticMethodMonotonicCounter(LongSupplier) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Map a monotonically increasing long or int value to a counter.
- monitorStaticMethodValue(DoubleSupplier) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Poll by executing supplier.getAsDouble()
and reporting the returned value.
- monitorValue(T) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Poll the value of the provided
Number
.
- monitorValue(T, ToDoubleFunction<T>) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Poll by executing f(obj)
and reporting the returned value.
- monotonicTime() - Method in interface com.netflix.spectator.api.Clock
-
Current time from a monotonic clock source.
- monotonicTime() - Method in class com.netflix.spectator.api.ManualClock
-
- mostFrequent(int) - Static method in class com.netflix.spectator.api.patterns.CardinalityLimiters
-
Restrict the cardinality of the input to the top n
values based on the
frequency of the lookup.
- PatternMatcher - Interface in com.netflix.spectator.impl
-
Efficient alternative to using
Pattern
for use cases that just
require basic matching.
- PatternUtils - Class in com.netflix.spectator.impl.matcher
-
Helper functions for working with patterns.
- peek(K) - Method in interface com.netflix.spectator.impl.Cache
-
- percentile(long[], double) - Static method in class com.netflix.spectator.api.histogram.PercentileBuckets
-
Compute a percentile based on the counts for the buckets.
- percentile(double) - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
Computes the specified percentile for this distribution summary.
- percentile(double) - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
Computes the specified percentile for this timer.
- PercentileBuckets - Class in com.netflix.spectator.api.histogram
-
Bucket values for estimating a percentile from a set of non-negative long values.
- PercentileDistributionSummary - Class in com.netflix.spectator.api.histogram
-
Distribution summary that buckets the counts to allow for estimating percentiles.
- PercentileDistributionSummary.Builder - Class in com.netflix.spectator.api.histogram
-
Helper for getting instances of a PercentileDistributionSummary.
- percentiles(long[], double[], double[]) - Static method in class com.netflix.spectator.api.histogram.PercentileBuckets
-
Compute a set of percentiles based on the counts for the buckets.
- PercentileTimer - Class in com.netflix.spectator.api.histogram
-
Timer that buckets the counts to allow for estimating percentiles.
- PercentileTimer.Builder - Class in com.netflix.spectator.api.histogram
-
Helper for getting instances of a PercentileTimer.
- poll() - Method in class com.netflix.spectator.impl.StepDouble
-
Get the value for the last completed interval.
- poll() - Method in class com.netflix.spectator.impl.StepLong
-
Get the value for the last completed interval.
- pollAsRate() - Method in class com.netflix.spectator.impl.StepDouble
-
Get the value for the last completed interval as a rate per second.
- pollAsRate() - Method in class com.netflix.spectator.impl.StepLong
-
Get the value for the last completed interval as a rate per second.
- pollAsRate() - Method in interface com.netflix.spectator.impl.StepValue
-
Get the value for the last completed interval as a rate per second.
- PolledMeter - Class in com.netflix.spectator.api.patterns
-
Helper for configuring a meter that will receive a value by regularly polling the
source in the background.
- PolledMeter.Builder - Class in com.netflix.spectator.api.patterns
-
Builder for configuring a polled meter value.
- Preconditions - Class in com.netflix.spectator.impl
-
Internal convenience methods that help a method or constructor check whether it was invoked
correctly.
- prefix() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns a fixed string prefix for the pattern if one is available.
- propagate(String, Throwable) - Method in class com.netflix.spectator.api.NoopRegistry
-
- propagate(Throwable) - Method in class com.netflix.spectator.api.NoopRegistry
-
- propagate(String, Throwable) - Method in interface com.netflix.spectator.api.Registry
-
Log a warning and if enabled propagate the exception t
.
- propagate(Throwable) - Method in interface com.netflix.spectator.api.Registry
-
Log a warning using the message from the exception and if enabled propagate the
exception t
.
- propagateTypeError(Registry, Id, Class<?>, Class<?>) - Static method in class com.netflix.spectator.api.Utils
-
Propagate a type error exception.
- propagateWarnings() - Method in interface com.netflix.spectator.api.RegistryConfig
-
Should an exception be thrown for warnings?
- put(K, V) - Method in interface com.netflix.spectator.impl.Cache
-
Add or overwrite the cache entry for the key.
- record(Callable<T>) - Method in class com.netflix.spectator.api.AbstractTimer
-
- record(Runnable) - Method in class com.netflix.spectator.api.AbstractTimer
-
- record(long) - Method in interface com.netflix.spectator.api.DistributionSummary
-
Updates the statistics kept by the summary with the specified amount.
- record(long) - Method in class com.netflix.spectator.api.histogram.BucketCounter
-
- record(long) - Method in class com.netflix.spectator.api.histogram.BucketDistributionSummary
-
- record(long, TimeUnit) - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
- record(Callable<T>) - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
- record(Runnable) - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
- record(long) - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
- record(long, TimeUnit) - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- record(Callable<T>) - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- record(Runnable) - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- record(long, TimeUnit) - Method in interface com.netflix.spectator.api.Timer
-
Updates the statistics kept by the counter with the specified amount.
- record(Duration) - Method in interface com.netflix.spectator.api.Timer
-
Updates the statistics kept by the counter with the specified amount.
- record(Callable<T>) - Method in interface com.netflix.spectator.api.Timer
-
Executes the callable `f` and records the time taken.
- record(Runnable) - Method in interface com.netflix.spectator.api.Timer
-
Executes the runnable `f` and records the time taken.
- ref - Variable in class com.netflix.spectator.api.AbstractMeter
-
Reference to the underlying object used to compute the measurements.
- register(Meter) - Method in class com.netflix.spectator.api.AbstractRegistry
-
Deprecated.
- register(Meter) - Method in class com.netflix.spectator.api.CompositeRegistry
-
Deprecated.
- register(Meter) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- register(Meter) - Method in class com.netflix.spectator.api.NoopRegistry
-
- register(Meter) - Method in interface com.netflix.spectator.api.Registry
-
- registry - Variable in class com.netflix.spectator.api.patterns.IdBuilder
-
Registry used for created ids.
- Registry - Interface in com.netflix.spectator.api
-
Registry to manage a set of meters.
- registry() - Static method in class com.netflix.spectator.api.Spectator
-
- registry - Variable in class com.netflix.spectator.impl.SwapMeter
-
Registry used to lookup values after expiration.
- RegistryConfig - Interface in com.netflix.spectator.api
-
Configuration settings for the registry.
- remove(Registry) - Method in class com.netflix.spectator.api.CompositeRegistry
-
Remove a registry from the composite.
- remove(Registry, Id) - Static method in class com.netflix.spectator.api.patterns.PolledMeter
-
Explicitly disable polling for the meter registered with id
.
- removeAll() - Method in class com.netflix.spectator.api.CompositeRegistry
-
Remove all registries from the composite.
- removeExpiredMeters() - Method in class com.netflix.spectator.api.AbstractRegistry
-
Can be called by sub-classes to remove expired meters from the internal map.
- replaceNonMembers(String, char) - Method in class com.netflix.spectator.impl.AsciiSet
-
Replace all characters in the input string with the replacement character.
- reset() - Method in class com.netflix.spectator.api.AbstractRegistry
-
This can be called be sub-classes to reset all state for the registry.
- reset() - Method in class com.netflix.spectator.api.DefaultRegistry
-
Reset the state of this registry.
- rollup(int) - Static method in class com.netflix.spectator.api.patterns.CardinalityLimiters
-
Rollup the values if the cardinality exceeds n
.
- schedule(Scheduler.Options, Runnable) - Method in class com.netflix.spectator.impl.Scheduler
-
Schedule a repetitive task.
- scheduleOn(ScheduledExecutorService) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Set the executor to be used for polling the value.
- Scheduler - Class in com.netflix.spectator.impl
-
This class is an internal implementation detail only intended for use within spectator.
- Scheduler(Registry, String, int) - Constructor for class com.netflix.spectator.impl.Scheduler
-
Create a new instance.
- Scheduler.Options - Class in com.netflix.spectator.impl
-
Options to control how a task will get executed.
- Scheduler.Policy - Enum in com.netflix.spectator.impl
-
Repetition schedulingPolicy for scheduled tasks.
- secondsSinceLastUpdate() - Method in class com.netflix.spectator.api.patterns.IntervalCounter
-
Return the number of seconds since the last time the counter was incremented.
- set(double) - Method in interface com.netflix.spectator.api.Gauge
-
Set the current value of the gauge.
- set(double) - Method in class com.netflix.spectator.impl.AtomicDouble
-
Set the current value to amount
.
- set(T) - Method in class com.netflix.spectator.impl.SwapMeter
-
Set the underlying instance of the meter to use.
- setMonotonicTime(long) - Method in class com.netflix.spectator.api.ManualClock
-
Set the monotonic time to the value t
.
- setWallTime(long) - Method in class com.netflix.spectator.api.ManualClock
-
Set the wall time to the value t
.
- shutdown() - Method in class com.netflix.spectator.impl.Scheduler
-
Shutdown and cleanup resources associated with the scheduler.
- size() - Method in interface com.netflix.spectator.api.Id
-
Return the size, number of tags, for the id including the name.
- size() - Method in interface com.netflix.spectator.api.TagList
-
Return the number of tags in the list.
- size(Iterable<T>) - Static method in class com.netflix.spectator.api.Utils
-
Returns the size of an iterable.
- size() - Method in interface com.netflix.spectator.impl.Cache
-
- Spectator - Class in com.netflix.spectator.api
-
Static factory used to access the main global registry.
- start() - Method in interface com.netflix.spectator.api.LongTaskTimer
-
Start keeping time for a task and return a task id that can be used to look up how long
it has been running.
- start() - Method in class com.netflix.spectator.api.patterns.LongTaskTimer
-
- state() - Method in class com.netflix.spectator.api.AbstractRegistry
-
- state() - Method in class com.netflix.spectator.api.CompositeRegistry
-
- state() - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- state() - Method in class com.netflix.spectator.api.NoopRegistry
-
- state() - Method in interface com.netflix.spectator.api.Registry
-
Returns a map that can be used to associate state with the registry.
- Statistic - Enum in com.netflix.spectator.api
-
The valid set of statistics that can be reported by timers and distribution summaries.
- StepDouble - Class in com.netflix.spectator.impl
-
Utility class for managing a set of AtomicLong instances mapped to a particular step interval.
- StepDouble(double, Clock, long) - Constructor for class com.netflix.spectator.impl.StepDouble
-
Create a new instance.
- StepLong - Class in com.netflix.spectator.impl
-
Utility class for managing a set of AtomicLong instances mapped to a particular step interval.
- StepLong(long, Clock, long) - Constructor for class com.netflix.spectator.impl.StepLong
-
Create a new instance.
- StepValue - Interface in com.netflix.spectator.impl
-
- stop(long) - Method in interface com.netflix.spectator.api.LongTaskTimer
-
Indicates that a given task has completed.
- stop(long) - Method in class com.netflix.spectator.api.patterns.LongTaskTimer
-
- stream() - Method in interface com.netflix.spectator.api.Registry
-
Returns a stream of all registered meters.
- SwapMeter<T extends Meter> - Class in com.netflix.spectator.impl
-
Base type for meters that allow the underlying implementation to be replaced with
another.
- SwapMeter(Registry, LongSupplier, Id, T) - Constructor for class com.netflix.spectator.impl.SwapMeter
-
Create a new instance.
- SYSTEM - Static variable in interface com.netflix.spectator.api.Clock
-
Default clock implementation based on corresponding calls in
System
.
- Tag - Interface in com.netflix.spectator.api
-
Key/value pair used to classify and drill into measurements.
- TagList - Interface in com.netflix.spectator.api
-
Base type for a collection of tags.
- tags() - Method in interface com.netflix.spectator.api.Id
-
Other dimensions that can be used to classify the measurement.
- TagsBuilder<T extends TagsBuilder<T>> - Class in com.netflix.spectator.api.patterns
-
Base class used for builders that need to allow for additional tagging to be
added onto a base id.
- TagsBuilder() - Constructor for class com.netflix.spectator.api.patterns.TagsBuilder
-
Create a new instance.
- ThreadPoolMonitor - Class in com.netflix.spectator.api.patterns
-
Monitors and reports a common set of metrics for thread pools.
- timer(Id) - Method in class com.netflix.spectator.api.AbstractRegistry
-
- timer(Id) - Method in class com.netflix.spectator.api.CompositeRegistry
-
- timer(Id) - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- timer(Id) - Method in class com.netflix.spectator.api.NoopRegistry
-
- timer(Id) - Method in interface com.netflix.spectator.api.Registry
-
Measures the rate and time taken for short running tasks.
- timer(String) - Method in interface com.netflix.spectator.api.Registry
-
Measures the time taken for short tasks.
- timer(String, Iterable<Tag>) - Method in interface com.netflix.spectator.api.Registry
-
Measures the time taken for short tasks.
- timer(String, String...) - Method in interface com.netflix.spectator.api.Registry
-
Measures the time taken for short tasks.
- Timer - Interface in com.netflix.spectator.api
-
Timer intended to track a large number of short running events.
- timers() - Method in interface com.netflix.spectator.api.Registry
-
Returns a stream of all registered timers.
- timestamp() - Method in class com.netflix.spectator.api.Measurement
-
The timestamp in milliseconds since the epoch for when the measurement was taken.
- timestamp() - Method in class com.netflix.spectator.impl.StepDouble
-
Get the timestamp for the end of the last completed interval.
- timestamp() - Method in class com.netflix.spectator.impl.StepLong
-
Get the timestamp for the end of the last completed interval.
- timestamp() - Method in interface com.netflix.spectator.impl.StepValue
-
Get the timestamp for the end of the last completed interval.
- toList(Iterable<T>) - Static method in class com.netflix.spectator.api.Utils
-
Returns a list with a copy of the data from the iterable.
- toList(Iterator<T>) - Static method in class com.netflix.spectator.api.Utils
-
Returns a list with the data from the iterator.
- toSqlPattern() - Method in interface com.netflix.spectator.impl.PatternMatcher
-
Returns a pattern that can be used with a SQL LIKE clause or null if this expression
cannot be expressed as a SQL pattern.
- toString() - Method in class com.netflix.spectator.api.BasicTag
-
- toString() - Method in class com.netflix.spectator.api.ExtendedRegistry
-
Deprecated.
- toString() - Method in class com.netflix.spectator.api.Measurement
-
- toString() - Method in class com.netflix.spectator.impl.AsciiSet
-
- toString() - Method in class com.netflix.spectator.impl.StepDouble
-
- toString() - Method in class com.netflix.spectator.impl.StepLong
-
- totalAmount() - Method in interface com.netflix.spectator.api.DistributionSummary
-
The total amount of all recorded events since this summary was last reset.
- totalAmount() - Method in class com.netflix.spectator.api.histogram.BucketCounter
-
Not supported, will always return 0.
- totalAmount() - Method in class com.netflix.spectator.api.histogram.BucketDistributionSummary
-
Not supported, will always return 0.
- totalAmount() - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary
-
- totalTime() - Method in class com.netflix.spectator.api.histogram.BucketTimer
-
Not supported, will always return 0.
- totalTime() - Method in class com.netflix.spectator.api.histogram.PercentileTimer
-
- totalTime() - Method in interface com.netflix.spectator.api.Timer
-
The total time in nanoseconds of all recorded events since this timer was last reset.
- wallTime() - Method in interface com.netflix.spectator.api.Clock
-
Current wall time in milliseconds since the epoch.
- wallTime() - Method in class com.netflix.spectator.api.ManualClock
-
- withDelay(Duration) - Method in class com.netflix.spectator.api.patterns.PolledMeter.Builder
-
Set the delay at which the value should be refreshed.
- withFrequency(Scheduler.Policy, Duration) - Method in class com.netflix.spectator.impl.Scheduler.Options
-
Configure the task to execute repeatedly.
- withId(Id) - Method in class com.netflix.spectator.api.patterns.IdBuilder
-
Set the base identifier for the type being constructed.
- withInitialDelay(Duration) - Method in class com.netflix.spectator.impl.Scheduler.Options
-
How long to wait after a task has been scheduled to the first execution.
- withName(String) - Method in class com.netflix.spectator.api.patterns.IdBuilder
-
Create a new identifier with the provide name.
- withRange(long, long) - Method in class com.netflix.spectator.api.histogram.PercentileDistributionSummary.Builder
-
Sets the range for this summary.
- withRange(Duration, Duration) - Method in class com.netflix.spectator.api.histogram.PercentileTimer.Builder
-
Sets the threshold for this timer.
- withRange(long, long, TimeUnit) - Method in class com.netflix.spectator.api.histogram.PercentileTimer.Builder
-
Sets the range for this timer.
- withStopOnFailure(boolean) - Method in class com.netflix.spectator.impl.Scheduler.Options
-
Should a repeated task stop executing if an exception propagates out of
the task? Defaults to false.
- withTag(String, String) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with an additional tag value.
- withTag(Tag) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with an additional tag value.
- withTag(String, boolean) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with an additional tag value using
Boolean.toString(boolean)
to
convert the boolean value to a string representation.
- withTag(String, Enum<E>) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with an additional tag value using
Enum.name()
to
convert the Enum to a string representation.
- withTag(String, String) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add an additional tag value.
- withTag(String, Boolean) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add an additional tag value.
- withTag(String, Enum<E>) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add an additional tag value based on the name of the enum.
- withTag(Tag) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add an additional tag value.
- withTags(String, String) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(String, String, String, String) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(String, String, String, String, String, String) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(String...) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(Tag...) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(Iterable<Tag>) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(Map<String, String>) - Method in interface com.netflix.spectator.api.Id
-
Return a new id with additional tag values.
- withTags(String...) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add additional tag values.
- withTags(Tag...) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add additional tag values.
- withTags(Iterable<Tag>) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add additional tag values.
- withTags(Map<String, String>) - Method in class com.netflix.spectator.api.patterns.TagsBuilder
-
Add additional tag values.