| Package | Description |
|---|---|
| io.prestosql.execution.buffer |
| Modifier and Type | Field and Description |
|---|---|
static Set<BufferState> |
BufferState.TERMINAL_BUFFER_STATES |
| Modifier and Type | Method and Description |
|---|---|
BufferState |
OutputBufferInfo.getState() |
static BufferState |
BufferState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferState[] |
BufferState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BroadcastOutputBuffer.addStateChangeListener(StateMachine.StateChangeListener<BufferState> stateChangeListener) |
void |
ArbitraryOutputBuffer.addStateChangeListener(StateMachine.StateChangeListener<BufferState> stateChangeListener) |
void |
LazyOutputBuffer.addStateChangeListener(StateMachine.StateChangeListener<BufferState> stateChangeListener) |
void |
OutputBuffer.addStateChangeListener(StateMachine.StateChangeListener<BufferState> stateChangeListener)
Add a listener which fires anytime the buffer state changes.
|
void |
PartitionedOutputBuffer.addStateChangeListener(StateMachine.StateChangeListener<BufferState> stateChangeListener) |
| Constructor and Description |
|---|
OutputBufferInfo(String type,
BufferState state,
boolean canAddBuffers,
boolean canAddPages,
long totalBufferedBytes,
long totalBufferedPages,
long totalRowsSent,
long totalPagesSent,
List<BufferInfo> buffers) |
| Constructor and Description |
|---|
ArbitraryOutputBuffer(String taskInstanceId,
StateMachine<BufferState> state,
io.airlift.units.DataSize maxBufferSize,
Supplier<LocalMemoryContext> systemMemoryContextSupplier,
Executor notificationExecutor) |
BroadcastOutputBuffer(String taskInstanceId,
StateMachine<BufferState> state,
io.airlift.units.DataSize maxBufferSize,
Supplier<LocalMemoryContext> systemMemoryContextSupplier,
Executor notificationExecutor) |
PartitionedOutputBuffer(String taskInstanceId,
StateMachine<BufferState> state,
OutputBuffers outputBuffers,
io.airlift.units.DataSize maxBufferSize,
Supplier<LocalMemoryContext> systemMemoryContextSupplier,
Executor notificationExecutor) |
Copyright © 2012–2019. All rights reserved.