This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.Time.Runtime.LogicalTimer 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.LogicalTimer Class Reference

LogicalTimer class used for testing purposes. More...

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

Detailed Description

LogicalTimer class used for testing purposes.

Member Function Documentation

long Org.Apache.REEF.Wake.Time.Runtime.LogicalTimer.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.LogicalTimer.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.LogicalTimer.CurrentTime
get

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