Package org.graylog2.buffers
Class Buffers
java.lang.Object
org.graylog2.buffers.Buffers
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBuffers
(InputBuffer inputBuffer, ProcessBuffer processBuffer, OutputBuffer outputBuffer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
waitForEmptyBuffers
(long maxWait, TimeUnit timeUnit) Deprecated.UsewaitForEmptyBuffers(EnumSet, long, TimeUnit)
insteadvoid
waitForEmptyBuffers
(EnumSet<Buffers.Type> bufferTypes) Wait until the buffers of the given types have been drained or abort after 30 secondsvoid
waitForEmptyBuffers
(EnumSet<Buffers.Type> bufferTypes, long maxWait, TimeUnit timeUnit) Wait until the buffers of the given types have been drained or abort after a given maximum waiting time
-
Constructor Details
-
Method Details
-
waitForEmptyBuffers
Deprecated.UsewaitForEmptyBuffers(EnumSet)
instead -
waitForEmptyBuffers
Wait until the buffers of the given types have been drained or abort after 30 seconds -
waitForEmptyBuffers
Deprecated.UsewaitForEmptyBuffers(EnumSet, long, TimeUnit)
instead -
waitForEmptyBuffers
Wait until the buffers of the given types have been drained or abort after a given maximum waiting time
-
waitForEmptyBuffers(EnumSet)
instead