Apache REEF
0.16.0
Retainable Evaluator Execution Framework
|
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... | |
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>
void Org.Apache.REEF.Common.Metrics.Api.IMetricsSource.GetMetrics | ( | IMetricsCollector | collector, |
bool | all | ||
) |
Gets metrics from the source.
collector | Collector that stores the resulting metrics snapshot as records. |
all | If true, gets metric values even if they are unchanged. |
Implemented in Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.DefaultMetricsSourceImpl.