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

Stage that triggers an event handler periodically More...

Inherits Org.Apache.REEF.Wake.IStage.

Public Member Functions

 TimerStage (IEventHandler< PeriodicEvent > handler, long period)
 Constructs a timer stage with no initial delay More...
 
 TimerStage (IEventHandler< PeriodicEvent > handler, long initialDelay, long period)
 Constructs a timer stage More...
 
void Dispose ()
 Closes resources More...
 

Detailed Description

Stage that triggers an event handler periodically

Constructor & Destructor Documentation

Org.Apache.REEF.Wake.Impl.TimerStage.TimerStage ( IEventHandler< PeriodicEvent handler,
long  period 
)
inline

Constructs a timer stage with no initial delay

Parameters
handleran event handler
perioda period in milli-seconds
Org.Apache.REEF.Wake.Impl.TimerStage.TimerStage ( IEventHandler< PeriodicEvent handler,
long  initialDelay,
long  period 
)
inline

Constructs a timer stage

Parameters
handleran event handler
initialDelayan initial delay
perioda period in milli-seconds

Member Function Documentation

void Org.Apache.REEF.Wake.Impl.TimerStage.Dispose ( )
inline

Closes resources


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