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

Inherits Org.Apache.REEF.Wake.Time.Runtime.ITimer.

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 number of milliseconds since Epoch More...
 
- Properties inherited from Org.Apache.REEF.Wake.Time.Runtime.ITimer
long CurrentTime [get]
 Gets the current time More...
 

Member Function Documentation

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

Gets the difference between the given time and the current time

Parameters
timeThe time to compare against the current time

Implements Org.Apache.REEF.Wake.Time.Runtime.ITimer.

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

Checks if the given time has already passed.

Parameters
timeThe time to check if it has passed or not

Implements Org.Apache.REEF.Wake.Time.Runtime.ITimer.

Property Documentation

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

Gets the number of milliseconds since Epoch


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