|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.TimerQueue
ariba.util.core.LinkedTimerQueue
public class LinkedTimerQueue
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 |
---|
public LinkedTimerQueue()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int size()
size
in class TimerQueue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |