|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread net.sf.jour.rt.agent.AsyncEventWriter.Dispatcher
Field Summary | |
(package private) boolean |
interrupted
|
(package private) java.util.Hashtable |
threadQueueCount
|
(package private) java.util.Hashtable |
toClose
|
(package private) java.util.Hashtable |
writers
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
(package private) |
AsyncEventWriter.Dispatcher(java.lang.String name)
|
Method Summary | |
(package private) void |
attach(java.lang.Thread key)
|
(package private) void |
close()
|
(package private) void |
close(java.lang.Thread key)
Close the Queue for this thread. |
(package private) void |
closeWriters()
|
(package private) BulkEventLogger |
getReciver(java.lang.Thread key)
|
int |
queueCount(java.lang.Thread key,
int inc)
|
(package private) void |
recive(java.lang.Thread key,
Queue eventQueue)
|
void |
run()
|
void |
shutdown()
|
(package private) int |
size()
|
(package private) void |
write(java.lang.Thread key,
Queue eventQueue)
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
boolean interrupted
java.util.Hashtable writers
java.util.Hashtable threadQueueCount
java.util.Hashtable toClose
Constructor Detail |
AsyncEventWriter.Dispatcher(java.lang.String name)
Method Detail |
void attach(java.lang.Thread key)
int size()
void recive(java.lang.Thread key, Queue eventQueue)
void close()
void close(java.lang.Thread key)
void closeWriters()
void write(java.lang.Thread key, Queue eventQueue)
BulkEventLogger getReciver(java.lang.Thread key)
public int queueCount(java.lang.Thread key, int inc)
public void shutdown()
shutdown
in interface ShutdownListener
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |