Class ViewUpdater

java.lang.Object
org.apache.flink.runtime.metrics.ViewUpdater

public class ViewUpdater extends Object
The ViewUpdater is responsible for updating all metrics that implement the View interface.
  • Constructor Details

  • 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