|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.util.logging.LoggingServiceAsyncImpl.AsyncLoggingWorker
class LoggingServiceAsyncImpl.AsyncLoggingWorker
Worker class to handle asynchronous logging events.
Constructor Summary | |
---|---|
LoggingServiceAsyncImpl.AsyncLoggingWorker(java.util.List svcList)
Construct a new worker with the given list of LoggingService instances. |
Method Summary | |
---|---|
void |
destroy()
Destroy this worker |
void |
doWork(java.lang.Object event,
java.lang.String lsnr)
Receive async LogMessages and iterate over the list of LoggingService instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingServiceAsyncImpl.AsyncLoggingWorker(java.util.List svcList)
svcList
- List of LoggingServices instances.Method Detail |
---|
public void doWork(java.lang.Object event, java.lang.String lsnr)
doWork
in interface Worker
event
- LogMessage that must be logged.lsnr
- Name of the listener that invoked this worker.public void destroy()
destroy
in interface Worker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |