This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.Time.Runtime.ITimer Interface Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | Properties | List of all members
Org.Apache.REEF.Wake.Time.Runtime.ITimer Interface Reference

Inherited by Org.Apache.REEF.Wake.Time.Runtime.LogicalTimer, and Org.Apache.REEF.Wake.Time.Runtime.RealTimer.

Public Member Functions

long GetDuration (long time)
 Gets the difference between the given time and the current time More...
 
bool IsReady (long time)
 Checks if the given time has already passed. More...
 

Properties

long CurrentTime [get]
 Gets the current time More...
 

Member Function Documentation

long Org.Apache.REEF.Wake.Time.Runtime.ITimer.GetDuration ( long  time)

Gets the difference between the given time and the current time

Parameters
timeThe time to compare against the current time

Implemented in Org.Apache.REEF.Wake.Time.Runtime.RealTimer, and Org.Apache.REEF.Wake.Time.Runtime.LogicalTimer.

bool Org.Apache.REEF.Wake.Time.Runtime.ITimer.IsReady ( long  time)

Checks if the given time has already passed.

Parameters
timeThe time to check if it has passed or not

Implemented in Org.Apache.REEF.Wake.Time.Runtime.RealTimer, and Org.Apache.REEF.Wake.Time.Runtime.LogicalTimer.

Property Documentation

long Org.Apache.REEF.Wake.Time.Runtime.ITimer.CurrentTime
get

Gets the current time


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