public final class SubtaskConnectionDescriptor extends RuntimeEvent
During unaligned checkpoint recovery, if there is a rescaling, channels from the previous run
may not be available anymore for restoring the data. In that case, the data of several old
channels is sent over the same new channel through multiplexing. Each buffer is following this
SubtaskConnectionDescriptor
such that the receiver can demultiplex them.
Constructor and Description |
---|
SubtaskConnectionDescriptor(int inputSubtaskIndex,
int outputSubtaskIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getInputSubtaskIndex() |
int |
getOutputSubtaskIndex() |
int |
hashCode() |
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
String |
toString() |
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
public SubtaskConnectionDescriptor(int inputSubtaskIndex, int outputSubtaskIndex)
public void write(DataOutputView out)
IOReadableWritable
out
- the output view to receive the data.public void read(DataInputView in)
IOReadableWritable
in
- the input view to read the data frompublic int getInputSubtaskIndex()
public int getOutputSubtaskIndex()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.