Uses of Interface
com.yahoo.jdisc.Metric.Context
Packages that use 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
Methods in com.yahoo.jdisc that return Metric.ContextModifier and TypeMethodDescriptionMetric.createContext
(Map<String, ?> properties) Creates aMetricConsumer
-specificMetric.Context
object that encapsulates the given properties.Methods in com.yahoo.jdisc with parameters of type Metric.ContextModifier 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
Methods in com.yahoo.jdisc.application that return Metric.ContextModifier and TypeMethodDescriptionMetricConsumer.createContext
(Map<String, ?> properties) Creates aMetric.Context
object that encapsulates the given properties.Methods in com.yahoo.jdisc.application with parameters of type Metric.ContextModifier 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
Methods in com.yahoo.jdisc.test that return Metric.ContextMethods in com.yahoo.jdisc.test with parameters of type Metric.ContextModifier and TypeMethodDescriptionvoid
MockMetric.add
(String key, Number val, Metric.Context ctx) void
MockMetric.set
(String key, Number val, Metric.Context ctx)