de.fhg.igd.logging.log4j
Class AsynchronousWriterAppender.Log4jMessageDispatcher
java.lang.Object
java.lang.Thread
de.fhg.igd.logging.AbstractAsynchronousMessageDispatcher
de.fhg.igd.logging.log4j.AsynchronousWriterAppender.Log4jMessageDispatcher
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- AsynchronousWriterAppender
- private static class AsynchronousWriterAppender.Log4jMessageDispatcher
- extends AbstractAsynchronousMessageDispatcher
This is the dispatcher implementation for the Log4J logging
mechanism.
| 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, yield |
AsynchronousWriterAppender.Log4jMessageDispatcher
public AsynchronousWriterAppender.Log4jMessageDispatcher(Messenger messenger,
int maxbuf)
printLossMessage
protected void printLossMessage(Object ref)
- Description copied from class:
AbstractAsynchronousMessageDispatcher
- Print a notification about automatic message discarding to
System.out.
- Specified by:
printLossMessage in class AbstractAsynchronousMessageDispatcher
- Parameters:
ref - The message to refer to and get information from
createLossEntry
protected Object createLossEntry(int lost,
Object ref)
- Description copied from class:
AbstractAsynchronousMessageDispatcher
- Create a notification log entry informing about lost messages.
- Specified by:
createLossEntry in class AbstractAsynchronousMessageDispatcher
- Parameters:
lost - The number of lost messagesref - The message to refer to and get information from
- Returns:
- The notification message object
toString
public String toString()
- Overrides:
toString in class AbstractAsynchronousMessageDispatcher
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.