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

Interface to implement the counter. More...

Inherits Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.IMutableMetric.

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

Public Member Functions

void Increment ()
 Increments the counter by 1. More...
 
void Increment (long delta)
 Increments the counter by delta. More...
 
- Public Member Functions inherited from Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.IMutableMetric
void Subscribe (IObservable< SnapshotRequest > requestor)
 This function should be used to subscribe metric tot he observable, typically IMetricsSource More...
 

Additional Inherited Members

- Properties inherited from Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.IMutableMetric
IMetricsInfo Info [get]
 Meta-data of the metric. More...
 

Detailed Description

Interface to implement the counter.

A user will only work against this interface. Implementations will be internal.

Member Function Documentation

◆ Increment() [1/2]

void Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.ICounter.Increment ( )

Increments the counter by 1.

◆ Increment() [2/2]

void Org.Apache.REEF.Common.Metrics.MutableMetricsLayer.ICounter.Increment ( long  delta)

Increments the counter by delta.

Parameters
deltaValue with which to increment.

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