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, wait
getHistogram, getMonitoringInfos
public 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)
MetricsContainer
Counter
that should be used for implementing the given metricName
in
this container.getCounter
in interface MetricsContainer
public Distribution getDistribution(MetricName metricName)
MetricsContainer
Distribution
that should be used for implementing the given metricName
in this container.getDistribution
in interface MetricsContainer
public Gauge getGauge(MetricName metricName)
MetricsContainer
Gauge
that should be used for implementing the given metricName
in
this container.getGauge
in interface MetricsContainer
public void flush(boolean async)