Index
All Classes and Interfaces|All Packages
A
- abort() - Method in interface com.arpnetworking.metrics.Timer
-
Abort the timer and do not record any timing data in the associated
Metrics
instance. - addAnnotation(String, String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- addAnnotation(String, String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- addAnnotation(String, String) - Method in interface com.arpnetworking.metrics.Metrics
-
Add an attribute that describes the captured metrics or context.
- addAnnotations(Map<String, String>) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- addAnnotations(Map<String, String>) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- addAnnotations(Map<String, String>) - Method in interface com.arpnetworking.metrics.Metrics
-
Add attributes that describe the captured metrics or context.
- AggregatedData - Interface in com.arpnetworking.metrics
-
Marker interface for different types of aggregated data.
- AugmentedHistogram - Class in com.arpnetworking.metrics.impl
-
Aggregated data for numerical measurements represented as a histogram with supporting data capturing the minimum, maximum and sum of the aggregated measurements.
- AugmentedHistogram.Builder - Class in com.arpnetworking.metrics.impl
-
Builder implementation for
AggregatedData
.
B
- build() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Create an instance of
AugmentedHistogram
. - build() - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Create an instance of
MetricsFactory
. - Builder() - Constructor for class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Public constructor.
- Builder() - Constructor for class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Public constructor.
- Builder(HostResolver) - Constructor for class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Public constructor.
C
- close() - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- close() - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- close() - Method in interface com.arpnetworking.metrics.Metrics
-
Close the metrics object.
- close() - Method in interface com.arpnetworking.metrics.Timer
- com.arpnetworking.metrics - package com.arpnetworking.metrics
- com.arpnetworking.metrics.impl - package com.arpnetworking.metrics.impl
- Counter - Interface in com.arpnetworking.metrics
-
Interface for counter.
- create() - Method in class com.arpnetworking.metrics.impl.NoOpMetricsFactory
- create() - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory
- create() - Method in interface com.arpnetworking.metrics.MetricsFactory
-
Return an instance of
Metrics
. - createCounter(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- createCounter(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- createCounter(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Create and initialize a counter sample.
- createTimer(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- createTimer(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- createTimer(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Create and start a timer.
D
- decrement() - Method in interface com.arpnetworking.metrics.Counter
-
Decrement the counter sample by 1.
- decrement(long) - Method in interface com.arpnetworking.metrics.Counter
-
Decrement the counter sample by the specified value.
- decrementCounter(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- decrementCounter(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- decrementCounter(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Decrement the specified counter by 1.
- decrementCounter(String, long) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- decrementCounter(String, long) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- decrementCounter(String, long) - Method in interface com.arpnetworking.metrics.Metrics
-
Decrement the specified counter by the specified amount.
E
- equals(Object) - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- equals(Object) - Method in class com.arpnetworking.metrics.impl.TsdEvent
- Event - Interface in com.arpnetworking.metrics
-
Interface representing one unit of work's metrics data.
G
- getAggregatedData() - Method in interface com.arpnetworking.metrics.Event
-
Accessor for UOW aggregated data.
- getAggregatedData() - Method in class com.arpnetworking.metrics.impl.TsdEvent
- getAnnotations() - Method in interface com.arpnetworking.metrics.Event
-
Accessor for UOW annotations.
- getAnnotations() - Method in class com.arpnetworking.metrics.impl.TsdEvent
- getCloseTime() - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- getCloseTime() - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- getCloseTime() - Method in interface com.arpnetworking.metrics.Metrics
- getCounterSamples() - Method in interface com.arpnetworking.metrics.Event
-
Accessor for UOW counter samples.
- getCounterSamples() - Method in class com.arpnetworking.metrics.impl.TsdEvent
- getElapsedTime() - Method in class com.arpnetworking.metrics.impl.TsdStopWatch
- getElapsedTime() - Method in interface com.arpnetworking.metrics.StopWatch
-
Retrieve the elapsed time.
- getGaugeSamples() - Method in interface com.arpnetworking.metrics.Event
-
Accessor for UOW gauge samples.
- getGaugeSamples() - Method in class com.arpnetworking.metrics.impl.TsdEvent
- getHistogram() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- getInstance() - Static method in class com.arpnetworking.metrics.impl.NoOpAggregatedData
-
Static factory method for getting an instance of
NoOpAggregatedData
. - getMax() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- getMin() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- getOpenTime() - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- getOpenTime() - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- getOpenTime() - Method in interface com.arpnetworking.metrics.Metrics
- getPrecision() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- getSum() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- getTimerSamples() - Method in interface com.arpnetworking.metrics.Event
-
Accessor for UOW timer samples.
- getTimerSamples() - Method in class com.arpnetworking.metrics.impl.TsdEvent
- getUnit() - Method in class com.arpnetworking.metrics.impl.TsdStopWatch
- getUnit() - Method in interface com.arpnetworking.metrics.StopWatch
-
Retrieve the elapsed time unit.
- getValue() - Method in interface com.arpnetworking.metrics.Quantity
-
Access the magnitude of the quantity.
H
- hashCode() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- hashCode() - Method in class com.arpnetworking.metrics.impl.TsdEvent
I
- increment() - Method in interface com.arpnetworking.metrics.Counter
-
Increment the counter sample by 1.
- increment(long) - Method in interface com.arpnetworking.metrics.Counter
-
Increment the counter sample by the specified value.
- incrementCounter(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- incrementCounter(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- incrementCounter(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Increment the specified counter by 1.
- incrementCounter(String, long) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- incrementCounter(String, long) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- incrementCounter(String, long) - Method in interface com.arpnetworking.metrics.Metrics
-
Increment the specified counter by the specified amount.
- isAborted() - Method in interface com.arpnetworking.metrics.Timer
-
Accessor to determine if this
Timer
instance has been aborted. - isOpen() - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- isOpen() - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- isOpen() - Method in interface com.arpnetworking.metrics.Metrics
-
Accessor to determine if this
Metrics
instance is open or closed. - isRunning() - Method in class com.arpnetworking.metrics.impl.TsdStopWatch
- isRunning() - Method in interface com.arpnetworking.metrics.StopWatch
-
Determine if the stop watch is currently accumulating time.
- isRunning() - Method in interface com.arpnetworking.metrics.Timer
-
Accessor to determine if this
Timer
instance is running or stopped.
M
- Metrics - Interface in com.arpnetworking.metrics
-
Interface for logging metrics: timers, counters and gauges.
- MetricsFactory - Interface in com.arpnetworking.metrics
-
Interface for classes which create
Metrics
instances.
N
- newInstance(String, String) - Static method in class com.arpnetworking.metrics.impl.TsdMetricsFactory
-
Static factory.
- NoOpAggregatedData - Class in com.arpnetworking.metrics.impl
-
Aggregated data instance which is ignored by the client.
- NoOpMetrics - Class in com.arpnetworking.metrics.impl
-
Implementation of
Metrics
that provides safe interactions but does not actually publish any metrics. - NoOpMetrics() - Constructor for class com.arpnetworking.metrics.impl.NoOpMetrics
-
Public constructor.
- NoOpMetricsFactory - Class in com.arpnetworking.metrics.impl
-
No operation implementation of
MetricsFactory
. - NoOpMetricsFactory() - Constructor for class com.arpnetworking.metrics.impl.NoOpMetricsFactory
Q
- Quantity - Interface in com.arpnetworking.metrics
-
Interface for value and unit.
R
- record(Event) - Method in interface com.arpnetworking.metrics.Sink
- recordAggregatedData(String, AggregatedData) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
-
Record aggregated data for a metric against this metrics instance.
- resetCounter(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- resetCounter(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- resetCounter(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Create a new sample for the counter with value zero.
S
- setClusterName(String) - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Set the cluster name to publish as.
- setGauge(String, double) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- setGauge(String, double) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- setGauge(String, double) - Method in interface com.arpnetworking.metrics.Metrics
-
Set the specified gauge reading.
- setGauge(String, long) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- setGauge(String, long) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- setGauge(String, long) - Method in interface com.arpnetworking.metrics.Metrics
-
Set the specified gauge reading.
- setHistogram(Map<Double, Long>) - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Set the histogram.
- setHostName(String) - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Set the host name to publish as.
- setMaximum(Double) - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Set the maximum.
- setMinimum(Double) - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Set the minimum.
- setPrecision(Integer) - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Set the precision.
- setServiceName(String) - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Set the service name to publish as.
- setSinks(List<Sink>) - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Set the sinks to publish to.
- setSum(Double) - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram.Builder
-
Set the sum.
- setTimer(String, long, TimeUnit) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- setTimer(String, long, TimeUnit) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- setTimer(String, long, TimeUnit) - Method in interface com.arpnetworking.metrics.Metrics
-
Set the timer to the specified value.
- setUuidFactory(UuidFactory) - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory.Builder
-
Set the UuidFactory to be used to create UUIDs assigned to instances of
Metrics
created by thisMetricsFactory
. - Sink - Interface in com.arpnetworking.metrics
-
Interface representing a destination to record metrics to.
- start() - Static method in interface com.arpnetworking.metrics.StopWatch
-
Create and start a new
StopWatch
instance. - startTimer(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- startTimer(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- startTimer(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Start measurement of a sample for the specified timer.
- stop() - Method in class com.arpnetworking.metrics.impl.TsdStopWatch
- stop() - Method in interface com.arpnetworking.metrics.StopWatch
-
Stop the stop watch.
- stop() - Method in interface com.arpnetworking.metrics.Timer
-
Stop the timer and record timing data in the associated
Metrics
instance. - stopTimer(String) - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- stopTimer(String) - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- stopTimer(String) - Method in interface com.arpnetworking.metrics.Metrics
-
Stop measurement of a sample for the specified timer.
- StopWatch - Interface in com.arpnetworking.metrics
-
Interface for a thread safe stop watch.
T
- Timer - Interface in com.arpnetworking.metrics
-
Interface for timer.
- toString() - Method in class com.arpnetworking.metrics.impl.AugmentedHistogram
- toString() - Method in class com.arpnetworking.metrics.impl.NoOpMetrics
- toString() - Method in class com.arpnetworking.metrics.impl.NoOpMetricsFactory
- toString() - Method in class com.arpnetworking.metrics.impl.TsdEvent
- toString() - Method in class com.arpnetworking.metrics.impl.TsdMetrics
- toString() - Method in class com.arpnetworking.metrics.impl.TsdMetricsFactory
- toString() - Method in class com.arpnetworking.metrics.impl.TsdStopWatch
- TsdEvent - Class in com.arpnetworking.metrics.impl
-
Default implementation of
Event
. - TsdEvent(Map<String, String>, Map<String, List<Quantity>>, Map<String, List<Quantity>>, Map<String, List<Quantity>>, Map<String, AggregatedData>) - Constructor for class com.arpnetworking.metrics.impl.TsdEvent
-
Public constructor.
- TsdMetrics - Class in com.arpnetworking.metrics.impl
-
Default implementation of
Metrics
that publishes metrics as time series data (TSD). - TsdMetricsFactory - Class in com.arpnetworking.metrics.impl
-
Default implementation of
MetricsFactory
for creatingMetrics
instances for publication of time series data (TSD). - TsdMetricsFactory(TsdMetricsFactory.Builder) - Constructor for class com.arpnetworking.metrics.impl.TsdMetricsFactory
-
Protected constructor.
- TsdMetricsFactory.Builder - Class in com.arpnetworking.metrics.impl
-
Builder for
TsdMetricsFactory
. - TsdStopWatch - Class in com.arpnetworking.metrics.impl
-
Simple thread-safe implementation of nanosecond
StopWatch
. - TsdStopWatch() - Constructor for class com.arpnetworking.metrics.impl.TsdStopWatch
-
Create a new stop watch that is immediately started.
All Classes and Interfaces|All Packages