Package io.aeron.cluster
Class PriorityHeapTimerServiceSupplier
java.lang.Object
io.aeron.cluster.PriorityHeapTimerServiceSupplier
- All Implemented Interfaces:
TimerServiceSupplier
Supplies instances of the
PriorityHeapTimerService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(TimeUnit timeUnit, TimerService.TimerHandler timerHandler) New instance of theTimerService.
-
Constructor Details
-
PriorityHeapTimerServiceSupplier
public PriorityHeapTimerServiceSupplier()
-
-
Method Details
-
newInstance
New instance of theTimerService.- Specified by:
newInstancein interfaceTimerServiceSupplier- Parameters:
timeUnit- units to be used by the underlying timer service.timerHandler- that must be invoked for each expired timer.- Returns:
- timer service instance ready for immediate usage.
-