public class AlluxioLog4jSocketNode
extends java.lang.Object
implements java.lang.Runnable
LoggingEvent objects from remote logging
clients and writes the objects to designated log files. For each logging client,
logging server creates a AlluxioLog4jSocketNode object and starts
a thread serving the logging requests of the client.| Constructor and Description |
|---|
AlluxioLog4jSocketNode(java.lang.String baseLogsDir,
java.net.Socket socket)
Constructor of
AlluxioLog4jSocketNode. |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
public AlluxioLog4jSocketNode(java.lang.String baseLogsDir,
java.net.Socket socket)
AlluxioLog4jSocketNode.
Callers construct AlluxioLog4jSocketNode instances, passing the ownership of the socket
parameter. From now on, the AlluxioLog4jSocketNode is responsible for closing the socket.baseLogsDir - base directory for logssocket - client socket from which to read LoggingEventCopyright © 2021. All Rights Reserved.