Class AsyncProcessOutputListener

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Runnable

    public class AsyncProcessOutputListener
    extends java.lang.Object
    implements java.lang.Runnable, java.io.Closeable
    • Constructor Detail

      • AsyncProcessOutputListener

        public AsyncProcessOutputListener​(java.util.concurrent.Executor executor,
                                          java.lang.String name,
                                          ProcessOutputLoggerConfiguration processOutputLoggerConfiguration,
                                          DefaultProcessOutput processOutput,
                                          java.util.function.Function<java.lang.String,​java.lang.String> stdOutFirstLineFunction)
    • Method Detail

      • startListening

        public void startListening​(java.io.InputStream inputStream)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException