ariba.util.core
Class LinkedTimerQueue

java.lang.Object
  extended by ariba.util.core.TimerQueue
      extended by ariba.util.core.LinkedTimerQueue
All Implemented Interfaces:
java.lang.Runnable

public class LinkedTimerQueue
extends TimerQueue

A TimerQueue implemented using a linked list of Timers. Since adding a new timer involves a linear scan through the list, this should probably only be used for small TimerQueues.


Constructor Summary
LinkedTimerQueue()
          Create a new LinkedTimerQueue and start the associated thread.
 
Method Summary
 int size()
          Get the number of Timers currently in the queue.
 java.lang.String toString()
           
 
Methods inherited from class ariba.util.core.TimerQueue
run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkedTimerQueue

public LinkedTimerQueue()
Create a new LinkedTimerQueue and start the associated thread.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

size

public int size()
Get the number of Timers currently in the queue. Repeating Timers are counted once.

Specified by:
size in class TimerQueue
Returns:


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