Class AsyncBufferPipeline
- java.lang.Object
-
- com.github.loki4j.client.pipeline.AsyncBufferPipeline
-
public final class AsyncBufferPipeline extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AsyncBufferPipeline(PipelineConfig conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappend(long timestamp, int nanos, java.util.function.Supplier<LogRecordStream> stream, java.util.function.Supplier<java.lang.String> message)voidstart()voidstop()voidwaitSendQueueIsEmpty(long timeoutMs)
-
-
-
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 timestamp, int nanos, java.util.function.Supplier<LogRecordStream> stream, java.util.function.Supplier<java.lang.String> message)
-
-