A B C D E G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add() - Method in class com.yahoo.metrics.simple.Counter
-
Increase the dimension-less/zero-point value of this counter by 1.
- add(long) - Method in class com.yahoo.metrics.simple.Counter
-
Add to the dimension-less/zero-point value of this counter.
- add(long, Point) - Method in class com.yahoo.metrics.simple.Counter
-
Add to this metric at the given point.
- add(Point) - Method in class com.yahoo.metrics.simple.Counter
-
Increase this metric at the given point by 1.
B
- Bucket - Class in com.yahoo.metrics.simple
-
An aggregation of data which is only written to from a single thread.
- Bucket() - Constructor for class com.yahoo.metrics.simple.Bucket
- Bucket(long, long) - Constructor for class com.yahoo.metrics.simple.Bucket
- build() - Method in class com.yahoo.metrics.ManagerConfig.Builder
- build() - Method in class com.yahoo.metrics.simple.MetricSettings.Builder
-
Build a fresh MetricSettings instance.
- build() - Method in class com.yahoo.metrics.simple.PointBuilder
-
Create a new Point instance using the settings stored in this PointBuilder.
- builder() - Method in class com.yahoo.metrics.simple.Counter
-
Create a PointBuilder with default dimension values as given when this counter was declared.
- builder() - Method in class com.yahoo.metrics.simple.Gauge
-
Create a PointBuilder with the default dimension values reflecting those given when this gauge was declared.
- Builder() - Constructor for class com.yahoo.metrics.ManagerConfig.Builder
- Builder() - Constructor for class com.yahoo.metrics.simple.MetricSettings.Builder
-
Create a new builder for a MetricSettings instance with default settings.
- Builder(ManagerConfig) - Constructor for class com.yahoo.metrics.ManagerConfig.Builder
C
- com.yahoo.metrics - package com.yahoo.metrics
- com.yahoo.metrics.simple - package com.yahoo.metrics.simple
-
A metrics API with declarable metric, and also an implementation of the JDisc Metrics API where the newest state is made continously available.
- CONFIG_DEF_MD5 - Static variable in class com.yahoo.metrics.ManagerConfig
- CONFIG_DEF_NAME - Static variable in class com.yahoo.metrics.ManagerConfig
- CONFIG_DEF_NAMESPACE - Static variable in class com.yahoo.metrics.ManagerConfig
- CONFIG_DEF_SCHEMA - Static variable in class com.yahoo.metrics.ManagerConfig
- CONFIG_DEF_VERSION - Static variable in class com.yahoo.metrics.ManagerConfig
- Counter - Class in com.yahoo.metrics.simple
-
A counter metric.
- COUNTER - com.yahoo.metrics.simple.UntypedMetric.AssumedType
D
- declareCounter(String) - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Declare a counter metric without setting any default position.
- declareCounter(String, Point) - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Declare a counter metric, with default dimension values as given.
- declareGauge(String) - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Declare a gauge metric with any default position.
- declareGauge(String, Point) - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Declare a gauge metric, with default dimension values as given.
- declareGauge(String, Optional<Point>, MetricSettings) - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Declare a gauge metric, with default dimension values as given.
- deconstruct() - Method in class com.yahoo.metrics.simple.MetricManager
- dimensionality() - Method in class com.yahoo.metrics.simple.Point
-
Get the number of dimensions defined for this Point, i.e.
- dimensions() - Method in class com.yahoo.metrics.simple.Point
-
Get an immutable list view of the names of each dimension.
- dispatchGetConfig(ConfigInstance.Producer) - Method in class com.yahoo.metrics.ManagerConfig.Builder
- DOUBLE - com.yahoo.metrics.simple.PointBuilder.Discriminator
- DOUBLE - com.yahoo.metrics.simple.Value.Discriminator
- doubleValue() - Method in class com.yahoo.metrics.simple.Value
-
Get the double wrapped by a Value if one exists.
E
- emptyPoint() - Static method in class com.yahoo.metrics.simple.Point
-
the canonical 0-dimensional Point.
- entrySet() - Method in class com.yahoo.metrics.simple.Bucket
- equals(Object) - Method in class com.yahoo.metrics.simple.Identifier
- equals(Object) - Method in class com.yahoo.metrics.simple.Point
G
- Gauge - Class in com.yahoo.metrics.simple
-
A gauge metric, i.e.
- GAUGE - com.yahoo.metrics.simple.UntypedMetric.AssumedType
- get() - Method in class com.yahoo.metrics.simple.MetricManager
- getAllMetricNames() - Method in class com.yahoo.metrics.simple.Bucket
- getConfig(ManagerConfig.Builder) - Method in interface com.yahoo.metrics.ManagerConfig.Producer
- getCount() - Method in class com.yahoo.metrics.simple.UntypedMetric
- getDefMd5() - Method in class com.yahoo.metrics.ManagerConfig.Builder
- getDefMd5() - Static method in class com.yahoo.metrics.ManagerConfig
- getDefName() - Method in class com.yahoo.metrics.ManagerConfig.Builder
- getDefName() - Static method in class com.yahoo.metrics.ManagerConfig
- getDefNamespace() - Method in class com.yahoo.metrics.ManagerConfig.Builder
- getDefNamespace() - Static method in class com.yahoo.metrics.ManagerConfig
- getDefVersion() - Static method in class com.yahoo.metrics.ManagerConfig
- getFromMillis() - Method in class com.yahoo.metrics.simple.Bucket
-
This bucket contains data newer than approximately this point in time.
- getHistogram() - Method in class com.yahoo.metrics.simple.UntypedMetric
- getLast() - Method in class com.yahoo.metrics.simple.UntypedMetric
- getLocation() - Method in class com.yahoo.metrics.simple.Identifier
- getMapForMetric(String) - Method in class com.yahoo.metrics.simple.Bucket
- getMax() - Method in class com.yahoo.metrics.simple.UntypedMetric
- getMin() - Method in class com.yahoo.metrics.simple.UntypedMetric
- getName() - Method in class com.yahoo.metrics.simple.Identifier
- getReceiver() - Method in class com.yahoo.metrics.simple.UnitTestSetup
- getSnapshot() - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Fetch the latest metric values, aggregated over all threads for the configured sample history (by default five minutes).
- getSnapshot() - Method in class com.yahoo.metrics.simple.MetricReceiver.MockReceiver
-
gathers all data since last snapshot
- getSum() - Method in class com.yahoo.metrics.simple.UntypedMetric
- getToMillis() - Method in class com.yahoo.metrics.simple.Bucket
-
This bucket contains data older than approximately this point in time.
- getType() - Method in class com.yahoo.metrics.simple.Value
-
Show the (single) supported standard type representation of a Value instance.
- getUpdatedSnapshot() - Method in class com.yahoo.metrics.simple.UnitTestSetup
- getValuesByMetricName() - Method in class com.yahoo.metrics.simple.Bucket
- getValuesForMetric(String) - Method in class com.yahoo.metrics.simple.Bucket
H
- hashCode() - Method in class com.yahoo.metrics.simple.Identifier
- hashCode() - Method in class com.yahoo.metrics.simple.Point
- histogram(boolean) - Method in class com.yahoo.metrics.simple.MetricSettings.Builder
-
Set whether a resulting metric should have a histogram.
I
- Identifier - Class in com.yahoo.metrics.simple
-
The name of the metric and its n-dimensional position.
- Identifier(String, Point) - Constructor for class com.yahoo.metrics.simple.Identifier
- isCounter() - Method in class com.yahoo.metrics.simple.UntypedMetric
L
- location() - Method in class com.yahoo.metrics.simple.Point
-
Get an immutable list view of the values for each dimension.
- LONG - com.yahoo.metrics.simple.PointBuilder.Discriminator
- LONG - com.yahoo.metrics.simple.Value.Discriminator
- longValue() - Method in class com.yahoo.metrics.simple.Value
-
Get the long wrapped by a Value if one exists.
M
- ManagerConfig - Class in com.yahoo.metrics
-
This class represents the root node of manager Copyright 2017 Yahoo Holdings.
- ManagerConfig(ManagerConfig.Builder) - Constructor for class com.yahoo.metrics.ManagerConfig
- ManagerConfig.Builder - Class in com.yahoo.metrics
- ManagerConfig.Producer - Interface in com.yahoo.metrics
- Measurement - Class in com.yahoo.metrics.simple
-
Wrapper class for the actually measured value.
- Measurement(Number) - Constructor for class com.yahoo.metrics.simple.Measurement
- MetricManager - Class in com.yahoo.metrics.simple
-
This is the coordinating class owning the executor and the top level objects for measured metrics.
- MetricManager(ManagerConfig) - Constructor for class com.yahoo.metrics.simple.MetricManager
- MetricReceiver - Class in com.yahoo.metrics.simple
-
The reception point for measurements.
- MetricReceiver(ThreadLocalDirectory<Bucket, Sample>, AtomicReference<Bucket>) - Constructor for class com.yahoo.metrics.simple.MetricReceiver
- MetricReceiver.MockReceiver - Class in com.yahoo.metrics.simple
- MetricSettings - Class in com.yahoo.metrics.simple
-
All information needed for creating any extra data structures associated with a single metric, outside of its basic type.
- MetricSettings.Builder - Class in com.yahoo.metrics.simple
-
A builder for the immutable MetricSettings instances.
- MockReceiver() - Constructor for class com.yahoo.metrics.simple.MetricReceiver.MockReceiver
N
- NONE - com.yahoo.metrics.simple.UntypedMetric.AssumedType
- nullImplementation - Static variable in class com.yahoo.metrics.simple.MetricReceiver
O
- of(double) - Static method in class com.yahoo.metrics.simple.Value
-
Helper method to wrap a double as a Value.
- of(long) - Static method in class com.yahoo.metrics.simple.Value
-
Helper method to wrap a long as a Value.
- of(String) - Static method in class com.yahoo.metrics.simple.Value
-
Helper method to wrap a string as a Value.
P
- point(String, String) - Method in class com.yahoo.metrics.simple.MetricReceiver.MockReceiver
-
utility method for testing
- Point - Class in com.yahoo.metrics.simple
-
An efficiently comparable point in a sparse vector space.
- Point(Map<String, ?>) - Constructor for class com.yahoo.metrics.simple.Point
- pointBuilder() - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Create a PointBuilder instance with no default settings.
- PointBuilder - Class in com.yahoo.metrics.simple
-
Single-use builder for the immutable Point instances used to set dimensions for a metric.
- PointBuilder.Discriminator - Enum in com.yahoo.metrics.simple
- pointsToKeepPerMetric() - Method in class com.yahoo.metrics.ManagerConfig
- pointsToKeepPerMetric(int) - Method in class com.yahoo.metrics.ManagerConfig.Builder
R
- reportPeriodSeconds() - Method in class com.yahoo.metrics.ManagerConfig
- reportPeriodSeconds(int) - Method in class com.yahoo.metrics.ManagerConfig.Builder
S
- sample(double) - Method in class com.yahoo.metrics.simple.Gauge
-
Record a sample with default or no position.
- sample(double, Point) - Method in class com.yahoo.metrics.simple.Gauge
-
Record a sample at the given position.
- Sample - Class in com.yahoo.metrics.simple
-
A single metric measurement and all the meta data needed to route it correctly.
- Sample(Measurement, Identifier, UntypedMetric.AssumedType) - Constructor for class com.yahoo.metrics.simple.Sample
- set(String, double) - Method in class com.yahoo.metrics.simple.PointBuilder
-
Set a named dimension to a floating point value.
- set(String, long) - Method in class com.yahoo.metrics.simple.PointBuilder
-
Set a named dimension to an integer value.
- set(String, String) - Method in class com.yahoo.metrics.simple.PointBuilder
-
Set a named dimension to a string value.
- STRING - com.yahoo.metrics.simple.PointBuilder.Discriminator
- STRING - com.yahoo.metrics.simple.Value.Discriminator
- stringValue() - Method in class com.yahoo.metrics.simple.Value
-
Get the string wrapped by a Value if one exists.
T
- toString() - Method in class com.yahoo.metrics.simple.Bucket
- toString() - Method in class com.yahoo.metrics.simple.Identifier
- toString() - Method in class com.yahoo.metrics.simple.Point
- toString() - Method in class com.yahoo.metrics.simple.PointBuilder
- toString() - Method in class com.yahoo.metrics.simple.UntypedMetric
U
- UnitTestSetup - Class in com.yahoo.metrics.simple
-
Common code for running unit tests of simplemetrics
- UnitTestSetup() - Constructor for class com.yahoo.metrics.simple.UnitTestSetup
- UntypedMetric - Class in com.yahoo.metrics.simple
-
A gauge or a counter or...
- UntypedMetric.AssumedType - Enum in com.yahoo.metrics.simple
- update(Sample) - Method in class com.yahoo.metrics.simple.MetricReceiver
-
Update a metric.
V
- Value - Class in com.yahoo.metrics.simple
-
Wrapper for dimension values.
- Value() - Constructor for class com.yahoo.metrics.simple.Value
- Value.Discriminator - Enum in com.yahoo.metrics.simple
-
Marker for the type of the contained value of a Value instance.
- valueOf(String) - Static method in enum com.yahoo.metrics.simple.PointBuilder.Discriminator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.yahoo.metrics.simple.UntypedMetric.AssumedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.yahoo.metrics.simple.Value.Discriminator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.yahoo.metrics.simple.PointBuilder.Discriminator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.yahoo.metrics.simple.UntypedMetric.AssumedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.yahoo.metrics.simple.Value.Discriminator
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages