Class ResourceReconcileResult
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.slotmanager.ResourceReconcileResult
-
public class ResourceReconcileResult extends Object
Contains the results of theResourceAllocationStrategy
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceReconcileResult.Builder
-
Constructor Summary
Constructors Constructor Description ResourceReconcileResult(List<PendingTaskManager> pendingTaskManagersToAllocate, List<PendingTaskManager> pendingTaskManagersToRelease, List<TaskManagerInfo> taskManagersToRelease)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceReconcileResult.Builder
builder()
List<PendingTaskManager>
getPendingTaskManagersToAllocate()
List<PendingTaskManager>
getPendingTaskManagersToRelease()
List<TaskManagerInfo>
getTaskManagersToRelease()
boolean
needReconcile()
Returns whether the cluster resource need reconcile.
-
-
-
Constructor Detail
-
ResourceReconcileResult
public ResourceReconcileResult(List<PendingTaskManager> pendingTaskManagersToAllocate, List<PendingTaskManager> pendingTaskManagersToRelease, List<TaskManagerInfo> taskManagersToRelease)
-
-
Method Detail
-
getPendingTaskManagersToAllocate
public List<PendingTaskManager> getPendingTaskManagersToAllocate()
-
getPendingTaskManagersToRelease
public List<PendingTaskManager> getPendingTaskManagersToRelease()
-
getTaskManagersToRelease
public List<TaskManagerInfo> getTaskManagersToRelease()
-
needReconcile
public boolean needReconcile()
Returns whether the cluster resource need reconcile.- Returns:
- True if the cluster resource need reconcile, otherwise false.
-
builder
public static ResourceReconcileResult.Builder builder()
-
-