public interface LoggingEventQueue
LoggingEvents for asynchronous dispatch.| Modifier and Type | Method and Description |
|---|---|
LoggingEvent |
poll() |
void |
put(LoggingEvent loggingEvent)
Inserts the specified element at the tail of this queue, waiting if
necessary for space to become available, and notifies all waiting threads.
|
LoggingEvent |
take()
Retrieves and removes the head element of this queue, waiting if necessary
until an element becomes available.
|
LoggingEvent poll()
void put(LoggingEvent loggingEvent) throws InterruptedException
loggingEvent - InterruptedExceptionLoggingEvent take() throws InterruptedException
InterruptedException - if interrupted whilst waiting.