public class DefaultAsyncQueueFullPolicy extends Object implements AsyncQueueFullPolicy
Constructor and Description |
---|
DefaultAsyncQueueFullPolicy() |
Modifier and Type | Method and Description |
---|---|
EventRoute |
getRoute(long backgroundThreadId,
Level level)
Returns the appropriate route for the current log event, given the specified parameters.
|
public EventRoute getRoute(long backgroundThreadId, Level level)
AsyncQueueFullPolicy
getRoute
in interface AsyncQueueFullPolicy
backgroundThreadId
- the thread ID of the background thread. Can be compared with the current thread's ID.level
- the level of the log eventCopyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.