Package org.apache.nemo.driver
Class RemoteClientMessageLoggingHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- org.apache.nemo.driver.RemoteClientMessageLoggingHandler
-
public final class RemoteClientMessageLoggingHandler extends java.util.logging.Handler
A simple logging handler that forwards messages to REEF client.
-
-
Constructor Summary
Constructors Constructor Description RemoteClientMessageLoggingHandler(org.apache.reef.driver.client.JobMessageObserver client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
publish(java.util.logging.LogRecord record)
TODO #XXX: buffer the log messages for performance.
-
-
-
Method Detail
-
publish
public void publish(java.util.logging.LogRecord record)
TODO #XXX: buffer the log messages for performance.- Specified by:
publish
in classjava.util.logging.Handler
-
flush
public void flush()
- Specified by:
flush
in classjava.util.logging.Handler
-
close
public void close() throws java.lang.SecurityException
- Specified by:
close
in classjava.util.logging.Handler
- Throws:
java.lang.SecurityException
-
-