public class JetMetricsContainer extends java.lang.Object implements MetricsContainer
MetricsContainer.| Constructor and Description |
|---|
JetMetricsContainer(java.lang.String stepName,
java.lang.String ownerId,
com.hazelcast.jet.core.Processor.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush(boolean async) |
Counter |
getCounter(MetricName metricName)
Return the
Counter that should be used for implementing the given metricName in
this container. |
Distribution |
getDistribution(MetricName metricName)
Return the
Distribution that should be used for implementing the given metricName in this container. |
Gauge |
getGauge(MetricName metricName)
Return the
Gauge that should be used for implementing the given metricName in
this container. |
static java.lang.String |
getMetricsMapName(long jobId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHistogram, getMonitoringInfospublic JetMetricsContainer(java.lang.String stepName,
java.lang.String ownerId,
com.hazelcast.jet.core.Processor.Context context)
public static java.lang.String getMetricsMapName(long jobId)
public Counter getCounter(MetricName metricName)
MetricsContainerCounter that should be used for implementing the given metricName in
this container.getCounter in interface MetricsContainerpublic Distribution getDistribution(MetricName metricName)
MetricsContainerDistribution that should be used for implementing the given metricName in this container.getDistribution in interface MetricsContainerpublic Gauge getGauge(MetricName metricName)
MetricsContainerGauge that should be used for implementing the given metricName in
this container.getGauge in interface MetricsContainerpublic void flush(boolean async)