protected class CommonComparableMonitorImpl.PoolTimer extends java.lang.Object implements BACITimer.TimerRunnable, PrioritizedRunnable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.atomic.AtomicLong |
queuedKeyPoolTime
Key time to process, 0 means none.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PoolTimer() |
| Modifier and Type | Method and Description |
|---|---|
BACIPriority |
getPriority()
Return priority of the task.
|
void |
run() |
void |
timeout(long timeToRun)
Method invoked by timer at requested time.
|
protected java.util.concurrent.atomic.AtomicLong queuedKeyPoolTime
public void timeout(long timeToRun)
BACITimer.TimerRunnabletimeout in interface BACITimer.TimerRunnableBACITimer.TimerRunnable.timeout(long)public BACIPriority getPriority()
PrioritizedRunnablegetPriority in interface PrioritizedRunnablePrioritizedRunnable.getPriority()public void run()
run in interface java.lang.RunnableRunnable.run()