Class AsyncBufferPipeline


  • public final class AsyncBufferPipeline
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean append​(long timestampMs, int nanosInMs, java.util.function.Supplier<LogRecordStream> stream, java.util.function.Supplier<java.lang.String> message, java.util.function.Supplier<java.lang.String[]> metadata)  
      void start()  
      void stop()  
      void waitSendQueueIsEmpty​(long timeoutMs)  
      • Methods inherited from class java.lang.Object

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

      • AsyncBufferPipeline

        public AsyncBufferPipeline​(PipelineConfig conf)
    • Method Detail

      • start

        public void start()
      • stop

        public void stop()
      • waitSendQueueIsEmpty

        public void waitSendQueueIsEmpty​(long timeoutMs)
      • append

        public boolean append​(long timestampMs,
                              int nanosInMs,
                              java.util.function.Supplier<LogRecordStream> stream,
                              java.util.function.Supplier<java.lang.String> message,
                              java.util.function.Supplier<java.lang.String[]> metadata)