Package deltix.util.io.idlestrat
Interface IdleStrategy
-
- All Known Implementing Classes:
ArgonaToDeltixStrategyAdapter,BusySpinIdleStrategy,NoOpIdleStrategy,YieldingIdleStrategy
public interface IdleStrategyDifferent implementation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voididle()Idle action (sleep, wait, etc).voididle(int workCount)voidreset()Reset the internal state (after doing some work).
-
-
-
Method Detail
-
idle
void idle(int workCount)
- Parameters:
workCount- amount of work done in the last cycle. Value "0" means that no work as done and some data form an external source expected.
-
idle
void idle()
Idle action (sleep, wait, etc).
-
reset
void reset()
Reset the internal state (after doing some work).
-
-