public class ResourceReconcileResult extends Object
ResourceAllocationStrategy
.Modifier and Type | Class and Description |
---|---|
static class |
ResourceReconcileResult.Builder |
Constructor and Description |
---|
ResourceReconcileResult(List<PendingTaskManager> pendingTaskManagersToAllocate,
List<PendingTaskManager> pendingTaskManagersToRelease,
List<TaskManagerInfo> taskManagersToRelease) |
Modifier and Type | Method and Description |
---|---|
static ResourceReconcileResult.Builder |
builder() |
List<PendingTaskManager> |
getPendingTaskManagersToAllocate() |
List<PendingTaskManager> |
getPendingTaskManagersToRelease() |
List<TaskManagerInfo> |
getTaskManagersToRelease() |
boolean |
needReconcile()
Returns whether the cluster resource need reconcile.
|
public ResourceReconcileResult(List<PendingTaskManager> pendingTaskManagersToAllocate, List<PendingTaskManager> pendingTaskManagersToRelease, List<TaskManagerInfo> taskManagersToRelease)
public List<PendingTaskManager> getPendingTaskManagersToAllocate()
public List<PendingTaskManager> getPendingTaskManagersToRelease()
public List<TaskManagerInfo> getTaskManagersToRelease()
public boolean needReconcile()
public static ResourceReconcileResult.Builder builder()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.