public class AlluxioLog4jSocketNode extends Object implements 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(String baseLogsDir,
Socket socket)
Constructor of
AlluxioLog4jSocketNode. |
public AlluxioLog4jSocketNode(String baseLogsDir, 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 © 2017. All Rights Reserved.