Class JetMetricsContainer
java.lang.Object
org.apache.beam.runners.jet.metrics.JetMetricsContainer
- All Implemented Interfaces:
Serializable
,MetricsContainer
Jet specific implementation of
MetricsContainer
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJetMetricsContainer
(String stepName, String ownerId, com.hazelcast.jet.core.Processor.Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
flush
(boolean async) getBoundedTrie
(MetricName metricName) Return theBoundedTrie
that should be used for implementing the givenmetricName
in this container.getCounter
(MetricName metricName) Return theCounter
that should be used for implementing the givenmetricName
in this container.getDistribution
(MetricName metricName) Return theDistribution
that should be used for implementing the givenmetricName
in this container.getGauge
(MetricName metricName) Return theGauge
that should be used for implementing the givenmetricName
in this container.static String
getMetricsMapName
(long jobId) getStringSet
(MetricName metricName) Return theStringSet
that should be used for implementing the givenmetricName
in this container.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.beam.sdk.metrics.MetricsContainer
getHistogram, getMonitoringInfos, getPerWorkerCounter
-
Constructor Details
-
JetMetricsContainer
-
-
Method Details
-
getMetricsMapName
-
getCounter
Description copied from interface:MetricsContainer
Return theCounter
that should be used for implementing the givenmetricName
in this container.- Specified by:
getCounter
in interfaceMetricsContainer
-
getDistribution
Description copied from interface:MetricsContainer
Return theDistribution
that should be used for implementing the givenmetricName
in this container.- Specified by:
getDistribution
in interfaceMetricsContainer
-
getGauge
Description copied from interface:MetricsContainer
Return theGauge
that should be used for implementing the givenmetricName
in this container.- Specified by:
getGauge
in interfaceMetricsContainer
-
getStringSet
Description copied from interface:MetricsContainer
Return theStringSet
that should be used for implementing the givenmetricName
in this container.- Specified by:
getStringSet
in interfaceMetricsContainer
-
getBoundedTrie
Description copied from interface:MetricsContainer
Return theBoundedTrie
that should be used for implementing the givenmetricName
in this container.- Specified by:
getBoundedTrie
in interfaceMetricsContainer
-
flush
public void flush(boolean async)
-