Package org.apache.flink.runtime.metrics
Class ViewUpdater
java.lang.Object
org.apache.flink.runtime.metrics.ViewUpdater
The ViewUpdater is responsible for updating all metrics that implement the
View
interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyOfAddedView(org.apache.flink.metrics.View view) Notifies this ViewUpdater of a new metric that should be regularly updated.voidnotifyOfRemovedView(org.apache.flink.metrics.View view) Notifies this ViewUpdater of a metric that should no longer be regularly updated.
-
Constructor Details
-
ViewUpdater
-
-
Method Details
-
notifyOfAddedView
public void notifyOfAddedView(org.apache.flink.metrics.View view) Notifies this ViewUpdater of a new metric that should be regularly updated.- Parameters:
view- metric that should be regularly updated
-
notifyOfRemovedView
public void notifyOfRemovedView(org.apache.flink.metrics.View view) Notifies this ViewUpdater of a metric that should no longer be regularly updated.- Parameters:
view- metric that should no longer be regularly updated
-