Apache REEF
0.16.0
Retainable Evaluator Execution Framework
|
Interface for collecting the metrics. More...
Inherits IEnumerable< IMetricsRecordBuilder >.
Inherited by Org.Apache.REEF.Common.Metrics.MetricsSystem.IMetricsCollectorMutable.
Public Member Functions | |
IMetricsRecordBuilder | CreateRecord (string name) |
Creates a metric record by name. More... | |
IMetricsRecordBuilder | CreateRecord (IMetricsInfo info) |
Creates a metric record by meta-data info. More... | |
IEnumerable< IMetricsRecord > | GetRecords () |
Creates record from underlying collection of IMetricsRecordBuilder More... | |
Interface for collecting the metrics.
This interface is passed to the IMetricsSource to add and fill in the records.
IMetricsRecordBuilder Org.Apache.REEF.Common.Metrics.Api.IMetricsCollector.CreateRecord | ( | string | name | ) |
Creates a metric record by name.
The exact semantics of what to do if another record of same name exists - (create another with same name, return existing one, or throw exception) is left to the implementation.
name | Name of the record. |
IMetricsRecordBuilder Org.Apache.REEF.Common.Metrics.Api.IMetricsCollector.CreateRecord | ( | IMetricsInfo | info | ) |
Creates a metric record by meta-data info.
The exact semantics of what to do if another record of same name exists - (create another with same name, return existing one, or throw exception) is left to the implementation.
info | Meta-data info of the record. |
IEnumerable<IMetricsRecord> Org.Apache.REEF.Common.Metrics.Api.IMetricsCollector.GetRecords | ( | ) |
Creates record from underlying collection of IMetricsRecordBuilder