Uses of Interface
com.yahoo.jdisc.Metric.Context
-
Packages that use Metric.Context Package Description com.yahoo.jdisc Provides the common classes and interfaces of the jDISC core.com.yahoo.jdisc.test 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.Context Modifier and Type Method Description Metric.Context
Metric. createContext(java.util.Map<java.lang.String,?> properties)
Creates aMetricConsumer
-specificMetric.Context
object that encapsulates the given properties.Methods in com.yahoo.jdisc with parameters of type Metric.Context Modifier and Type Method Description void
Metric. add(java.lang.String key, java.lang.Number val, Metric.Context ctx)
Add to a metric value.void
Metric. set(java.lang.String key, java.lang.Number val, Metric.Context ctx)
Set a metric value. -
Uses of Metric.Context in com.yahoo.jdisc.test
Methods in com.yahoo.jdisc.test that return Metric.Context Modifier and Type Method Description Metric.Context
MockMetric. createContext(java.util.Map<java.lang.String,?> properties)
Methods in com.yahoo.jdisc.test with parameters of type Metric.Context Modifier and Type Method Description void
MockMetric. add(java.lang.String key, java.lang.Number val, Metric.Context ctx)
void
MockMetric. set(java.lang.String key, java.lang.Number val, Metric.Context ctx)
-