Class RemoteClientMessageLoggingHandler


  • public final class RemoteClientMessageLoggingHandler
    extends java.util.logging.Handler
    A simple logging handler that forwards messages to REEF 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.
      • Methods inherited from class java.util.logging.Handler

        getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoteClientMessageLoggingHandler

        public RemoteClientMessageLoggingHandler​(org.apache.reef.driver.client.JobMessageObserver client)
    • Method Detail

      • publish

        public void publish​(java.util.logging.LogRecord record)
        TODO #XXX: buffer the log messages for performance.
        Specified by:
        publish in class java.util.logging.Handler
      • flush

        public void flush()
        Specified by:
        flush in class java.util.logging.Handler
      • close

        public void close()
                   throws java.lang.SecurityException
        Specified by:
        close in class java.util.logging.Handler
        Throws:
        java.lang.SecurityException