|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.log.SpyLogQueue
This class performs the actual queue management for the SpyLog system. It should probably not be referenced directly.
| Constructor Summary | |
SpyLogQueue(String name)
Get a new SpyLogQueue with the given name. |
|
| Method Summary | |
void |
addToQueue(SpyLogEntry e)
Add a new item to a queue. |
Vector |
flush()
Flush the current log entries -- DO NOT CALL THIS. |
int |
size()
Return the current size of the queue. |
void |
waitForQueue(long ms)
Wait for notification of an addition in the queue. |
| Methods inherited from class net.spy.SpyObject |
getLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SpyLogQueue(String name)
| Method Detail |
public void addToQueue(SpyLogEntry e)
e - item to be addedpublic void waitForQueue(long ms)
ms - The maximum number of milliseconds to wait.public int size()
public Vector flush()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||