Modifier and Type | Method and Description |
---|---|
OperatorSubtaskState |
OperatorSubtaskState.Builder.build() |
OperatorSubtaskState |
OperatorState.getState(int subtaskIndex) |
OperatorSubtaskState |
TaskStateSnapshot.getSubtaskStateByOperatorID(OperatorID operatorID)
Returns the subtask state for the given operator id (or null if not contained).
|
static OperatorSubtaskState |
StateAssignmentOperation.operatorSubtaskStateFrom(OperatorInstanceID instanceID,
org.apache.flink.runtime.checkpoint.TaskStateAssignment assignment) |
OperatorSubtaskState |
TaskStateSnapshot.putSubtaskStateByOperatorID(OperatorID operatorID,
OperatorSubtaskState state)
Maps the given operator id to the given subtask state.
|
Modifier and Type | Method and Description |
---|---|
Collection<OperatorSubtaskState> |
OperatorState.getStates() |
Set<Map.Entry<OperatorID,OperatorSubtaskState>> |
TaskStateSnapshot.getSubtaskStateMappings()
Returns the set of all mappings from operator id to the corresponding subtask state.
|
Map<Integer,OperatorSubtaskState> |
OperatorState.getSubtaskStates() |
Modifier and Type | Method and Description |
---|---|
void |
OperatorState.putState(int subtaskIndex,
OperatorSubtaskState subtaskState) |
OperatorSubtaskState |
TaskStateSnapshot.putSubtaskStateByOperatorID(OperatorID operatorID,
OperatorSubtaskState state)
Maps the given operator id to the given subtask state.
|
Modifier and Type | Method and Description |
---|---|
static <T extends StateObject> |
StateAssignmentOperation.reDistributePartitionableStates(Map<OperatorID,OperatorState> oldOperatorStates,
int newParallelism,
java.util.function.Function<OperatorSubtaskState,StateObjectCollection<T>> extractHandle,
OperatorStateRepartitioner<T> stateRepartitioner,
Map<OperatorInstanceID,List<T>> result) |
Constructor and Description |
---|
Builder(OperatorSubtaskState jobManagerState,
List<OperatorSubtaskState> alternativesByPriority) |
Builder(OperatorSubtaskState jobManagerState,
List<OperatorSubtaskState> alternativesByPriority,
boolean restored) |
Constructor and Description |
---|
Builder(OperatorSubtaskState jobManagerState,
List<OperatorSubtaskState> alternativesByPriority) |
Builder(OperatorSubtaskState jobManagerState,
List<OperatorSubtaskState> alternativesByPriority,
boolean restored) |
TaskStateSnapshot(Map<OperatorID,OperatorSubtaskState> subtaskStatesByOperatorID) |
Modifier and Type | Method and Description |
---|---|
protected OperatorSubtaskState |
MetadataV2Serializer.deserializeSubtaskState(DataInputStream dis,
MetadataV2V3SerializerBase.DeserializationContext context) |
protected OperatorSubtaskState |
MetadataV2V3SerializerBase.deserializeSubtaskState(DataInputStream dis,
MetadataV2V3SerializerBase.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataV3Serializer.serializeSubtaskState(OperatorSubtaskState subtaskState,
DataOutputStream dos) |
protected void |
MetadataV2Serializer.serializeSubtaskState(OperatorSubtaskState subtaskState,
DataOutputStream dos) |
protected void |
MetadataV2V3SerializerBase.serializeSubtaskState(OperatorSubtaskState subtaskState,
DataOutputStream dos) |
Modifier and Type | Field and Description |
---|---|
OperatorSubtaskState |
TaggedOperatorSubtaskState.state |
Constructor and Description |
---|
TaggedOperatorSubtaskState(int index,
OperatorSubtaskState state) |
Modifier and Type | Method and Description |
---|---|
OperatorSubtaskState |
OperatorSnapshotFinalizer.getJobManagerOwnedState() |
OperatorSubtaskState |
OperatorSnapshotFinalizer.getTaskLocalState() |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.