ariba.util.core
Class TimerQueue

java.lang.Object
  extended by ariba.util.core.TimerQueue
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
HeapTimerQueue, LinkedTimerQueue

public abstract class TimerQueue
extends java.lang.Object
implements java.lang.Runnable

Private class to manage a queue of Timers. The Timers are chained together in a linked list sorted by the order in which they will expire.

Note:
1.0 changes to detect and stop deadlocking better

Constructor Summary
TimerQueue()
           
 
Method Summary
 void run()
          Run the timer-processing loop.
abstract  int size()
          Get the number of Timers that are in this queue.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerQueue

public TimerQueue()
Method Detail

run

public void run()
Run the timer-processing loop.

Specified by:
run in interface java.lang.Runnable

size

public abstract int size()
Get the number of Timers that are in this queue. (Repeating timers are counted once).

Returns:
the current number of pending timers.


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.