public interface PartitionRequestListener
PartitionRequestListener and notify the listener when the task deploys itself and registers its
partition to ResultPartitionManager.| Modifier and Type | Method and Description |
|---|---|
long |
getCreateTimestamp()
The creation timestamp of this notifier, it's used to check whether the notifier is timeout.
|
InputChannelID |
getReceiverId()
Get the input channel id of the notifier.
|
ResultPartitionID |
getResultPartitionId()
Get the result partition id of the notifier.
|
NetworkSequenceViewReader |
getViewReader()
Get the view reader of the notifier.
|
void |
notifyPartitionCreated(ResultPartition partition)
Notify the partition request listener when the given partition is registered.
|
void |
notifyPartitionCreatedTimeout()
When the partition request listener is timeout, it will be notified to send
PartitionNotFoundException. |
void |
releaseListener()
Release this listener.
|
long getCreateTimestamp()
ResultPartitionID getResultPartitionId()
NetworkSequenceViewReader getViewReader()
InputChannelID getReceiverId()
void notifyPartitionCreated(ResultPartition partition) throws IOException
partition - The registered partition.IOExceptionvoid notifyPartitionCreatedTimeout()
PartitionNotFoundException.void releaseListener()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.