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.application Provides classes and interfaces for implementing anApplication
.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(Map<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(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.Context Modifier and Type Method Description Metric.Context
MetricConsumer. createContext(Map<String,?> properties)
Creates aMetric.Context
object that encapsulates the given properties.Methods in com.yahoo.jdisc.application with parameters of type Metric.Context Modifier and Type Method Description void
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.Context Modifier and Type Method Description Metric.Context
MockMetric. createContext(Map<String,?> properties)
Methods in com.yahoo.jdisc.test with parameters of type Metric.Context Modifier and Type Method Description void
MockMetric. add(String key, Number val, Metric.Context ctx)
void
MockMetric. set(String key, Number val, Metric.Context ctx)
-