Modifier and Type | Method and Description |
---|---|
void |
ChannelStateWriterImpl.addInputData(long checkpointId,
InputChannelInfo info,
int startSeqNum,
CloseableIterator<Buffer> iterator) |
void |
ChannelStateWriter.addInputData(long checkpointId,
InputChannelInfo info,
int startSeqNum,
CloseableIterator<Buffer> data)
Add in-flight buffers from the
InputChannel . |
void |
ChannelStateWriter.NoOpChannelStateWriter.addInputData(long checkpointId,
InputChannelInfo info,
int startSeqNum,
CloseableIterator<Buffer> data) |
ChannelStateReader.ReadResult |
ChannelStateReaderImpl.readInputData(InputChannelInfo info,
Buffer buffer) |
ChannelStateReader.ReadResult |
ChannelStateReader.readInputData(InputChannelInfo info,
Buffer buffer)
Put data into the supplied buffer to be injected into
InputChannel . |
Modifier and Type | Method and Description |
---|---|
void |
BufferReceivedListener.notifyBarrierReceived(CheckpointBarrier barrier,
InputChannelInfo channelInfo)
Invoked when an
InputChannel
receives a buffer with a CheckpointBarrier . |
void |
BufferReceivedListener.notifyBufferReceived(Buffer buffer,
InputChannelInfo channelInfo)
Called whenever an
InputChannel receives a non-barrier
buffer. |
Modifier and Type | Field and Description |
---|---|
protected InputChannelInfo |
InputChannel.channelInfo
The info of the input channel to identify it globally within a task.
|
Modifier and Type | Method and Description |
---|---|
InputChannelInfo |
InputChannel.getChannelInfo()
Returns the info of this channel, which uniquely identifies the channel in respect to its
operator instance.
|
InputChannelInfo |
BufferOrEvent.getChannelInfo() |
Modifier and Type | Method and Description |
---|---|
List<InputChannelInfo> |
InputGate.getChannelInfos()
Returns the channel infos of this gate.
|
Modifier and Type | Method and Description |
---|---|
void |
BufferOrEvent.setChannelInfo(InputChannelInfo channelInfo) |
Constructor and Description |
---|
BufferOrEvent(AbstractEvent event,
InputChannelInfo channelInfo) |
BufferOrEvent(AbstractEvent event,
InputChannelInfo channelInfo,
boolean moreAvailable,
int size) |
BufferOrEvent(Buffer buffer,
InputChannelInfo channelInfo) |
BufferOrEvent(Buffer buffer,
InputChannelInfo channelInfo,
boolean moreAvailable) |
Constructor and Description |
---|
InputChannelStateHandle(InputChannelInfo info,
StreamStateHandle delegate,
AbstractChannelStateHandle.StateContentMetaInfo contentMetaInfo) |
InputChannelStateHandle(InputChannelInfo info,
StreamStateHandle delegate,
List<Long> offset) |
InputChannelStateHandle(InputChannelInfo info,
StreamStateHandle delegate,
List<Long> offset,
long size) |
Modifier and Type | Method and Description |
---|---|
List<InputChannelInfo> |
CheckpointedInputGate.getChannelInfos() |
Modifier and Type | Method and Description |
---|---|
protected void |
CheckpointBarrierAligner.beginNewAlignment(long checkpointId,
InputChannelInfo channelInfo,
long checkpointTimestamp) |
boolean |
CheckpointBarrierHandler.hasInflightData(long checkpointId,
InputChannelInfo channelInfo)
Returns true if there is in-flight data in the buffers for the given channel and checkpoint.
|
boolean |
CheckpointBarrierUnaligner.hasInflightData(long checkpointId,
InputChannelInfo channelInfo) |
boolean |
CheckpointBarrierHandler.isBlocked(InputChannelInfo channelInfo)
Checks whether the channel with the given index is blocked.
|
boolean |
CheckpointBarrierAligner.isBlocked(InputChannelInfo channelInfo) |
protected void |
CheckpointBarrierAligner.onBarrier(InputChannelInfo channelInfo)
Blocks the given channel index, from which a barrier has been received.
|
abstract void |
CheckpointBarrierHandler.processBarrier(CheckpointBarrier receivedBarrier,
InputChannelInfo channelInfo) |
void |
CheckpointBarrierTracker.processBarrier(CheckpointBarrier receivedBarrier,
InputChannelInfo channelInfo) |
void |
CheckpointBarrierUnaligner.processBarrier(CheckpointBarrier receivedBarrier,
InputChannelInfo channelInfo)
We still need to trigger checkpoint via
ThreadSafeUnaligner#notifyBarrierReceived(CheckpointBarrier, InputChannelInfo) while reading
the first barrier from one channel, because this might happen earlier than the previous async
trigger via mailbox by netty thread. |
void |
CheckpointBarrierAligner.processBarrier(CheckpointBarrier receivedBarrier,
InputChannelInfo channelInfo) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.