| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.checkpoint |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MappingBasedRepartitioner<T>
A repartitioner that assigns the same channel state to multiple subtasks according to some
mapping.
|
class |
RoundRobinOperatorStateRepartitioner
Current default implementation of
OperatorStateRepartitioner that redistributes state in
round robin fashion. |
| 限定符和类型 | 字段和说明 |
|---|---|
static OperatorStateRepartitioner<OperatorStateHandle> |
RoundRobinOperatorStateRepartitioner.INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Map<OperatorInstanceID,List<T>> |
StateAssignmentOperation.applyRepartitioner(OperatorID operatorID,
OperatorStateRepartitioner<T> opStateRepartitioner,
List<List<T>> chainOpParallelStates,
int oldParallelism,
int newParallelism) |
static <T> List<List<T>> |
StateAssignmentOperation.applyRepartitioner(OperatorStateRepartitioner<T> opStateRepartitioner,
List<List<T>> chainOpParallelStates,
int oldParallelism,
int newParallelism)
Repartitions the given operator state using the given
OperatorStateRepartitioner with
respect to the new parallelism. |
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) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.