Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Common.Metrics.Api.IMetricsSource Interface Reference

Metrics source interface. More...

Inherits IObservable< SnapshotRequest >.

Inherited by Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.DefaultMetricsSourceImpl.

Public Member Functions

void GetMetrics (IMetricsCollector collector, bool all)
 Gets metrics from the source. More...
 

Detailed Description

Metrics source interface.

The current snapshot of metrics is taken via this interface which are then later on pushed to sink. Derived from IObservable<IMetricsRecordBuilder>. GetMetrics will call OnNext() of different mutable metrics that implement IObserver<IMetricsRecordBuilder>

Member Function Documentation

◆ GetMetrics()

void Org.Apache.REEF.Common.Metrics.Api.IMetricsSource.GetMetrics ( IMetricsCollector  collector,
bool  all 
)

Gets metrics from the source.

Parameters
collectorCollector that stores the resulting metrics snapshot as records.
allIf true, gets metric values even if they are unchanged.

Implemented in Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.DefaultMetricsSourceImpl.


The documentation for this interface was generated from the following file: