| Package | Description |
|---|---|
| org.apache.flink.runtime.io.network | |
| org.apache.flink.runtime.io.network.netty | |
| org.apache.flink.runtime.io.network.partition |
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkSequenceViewReader.notifyPartitionRequestTimeout(PartitionRequestListener partitionRequestListener)
When the partition request from the given downstream task is timeout, it should notify the
reader in netty server and send
PartitionNotFoundException to the task. |
| Modifier and Type | Class and Description |
|---|---|
class |
NettyPartitionRequestListener
Implementation of
PartitionRequestListener for netty partition request. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PartitionRequestListener> |
PartitionRequestListenerManager.getPartitionRequestListeners() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ResultSubpartitionView> |
ResultPartitionManager.createSubpartitionViewOrRegisterListener(ResultPartitionID partitionId,
ResultSubpartitionIndexSet subpartitionIndexSet,
BufferAvailabilityListener availabilityListener,
PartitionRequestListener partitionRequestListener) |
Optional<ResultSubpartitionView> |
ResultPartitionProvider.createSubpartitionViewOrRegisterListener(ResultPartitionID partitionId,
ResultSubpartitionIndexSet indexSet,
BufferAvailabilityListener availabilityListener,
PartitionRequestListener partitionRequestListener)
If the upstream task's partition has been registered, returns the result subpartition input
view immediately, otherwise register the listener and return empty.
|
void |
PartitionRequestListenerManager.registerListener(PartitionRequestListener listener) |
void |
ResultPartitionManager.releasePartitionRequestListener(PartitionRequestListener listener) |
void |
ResultPartitionProvider.releasePartitionRequestListener(PartitionRequestListener listener)
Release the given listener in this result partition provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PartitionRequestListenerManager.removeExpiration(long now,
long timeout,
Collection<PartitionRequestListener> timeoutListeners)
Remove the expire partition request listener and add it to the given timeoutListeners.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.