public class Buffers extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Buffers.Type |
| Constructor and Description |
|---|
Buffers(InputBuffer inputBuffer,
ProcessBuffer processBuffer,
OutputBuffer outputBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
waitForEmptyBuffers()
Deprecated.
Use
waitForEmptyBuffers(EnumSet) instead |
void |
waitForEmptyBuffers(EnumSet<Buffers.Type> bufferTypes)
Wait until the buffers of the given types have been drained or abort after 30 seconds
|
void |
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
|
void |
waitForEmptyBuffers(long maxWait,
TimeUnit timeUnit)
Deprecated.
Use
waitForEmptyBuffers(EnumSet, long, TimeUnit) instead |
@Inject public Buffers(InputBuffer inputBuffer, ProcessBuffer processBuffer, OutputBuffer outputBuffer)
@Deprecated public void waitForEmptyBuffers()
waitForEmptyBuffers(EnumSet) insteadpublic void waitForEmptyBuffers(EnumSet<Buffers.Type> bufferTypes)
@Deprecated public void waitForEmptyBuffers(long maxWait, TimeUnit timeUnit)
waitForEmptyBuffers(EnumSet, long, TimeUnit) insteadpublic void waitForEmptyBuffers(EnumSet<Buffers.Type> bufferTypes, long maxWait, TimeUnit timeUnit)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.