Uses of Interface
com.yahoo.jdisc.Metric.Context
Package
Description
Provides the common classes and interfaces of the jDISC core.
Provides classes and interfaces for implementing an
Application
.Provides classes and interfaces for implementing unit tests of jDISC components.
-
Uses of Metric.Context in com.yahoo.jdisc
Modifier and TypeMethodDescriptionMetric.createContext
(Map<String, ?> properties) Creates aMetricConsumer
-specificMetric.Context
object that encapsulates the given properties.Modifier and TypeMethodDescriptionvoid
Metric.add
(String key, Number val, Metric.Context ctx) Add to a metric value.void
Metric.set
(String key, Number val, Metric.Context ctx) Set a metric value. -
Uses of Metric.Context in com.yahoo.jdisc.application
Modifier and TypeMethodDescriptionMetricConsumer.createContext
(Map<String, ?> properties) Creates aMetric.Context
object that encapsulates the given properties.Modifier and TypeMethodDescriptionvoid
MetricConsumer.add
(String key, Number val, Metric.Context ctx) Consume a call toMetric.add(String, Number, Metric.Context)
.void
MetricConsumer.set
(String key, Number val, Metric.Context ctx) Consume a call toMetric.set(String, Number, Metric.Context)
. -
Uses of Metric.Context in com.yahoo.jdisc.test
Modifier and TypeMethodDescriptionvoid
MockMetric.add
(String key, Number val, Metric.Context ctx) void
MockMetric.set
(String key, Number val, Metric.Context ctx)