public class PendingSlotRequest extends Object
SlotManager
.Constructor and Description |
---|
PendingSlotRequest(SlotRequest slotRequest) |
Modifier and Type | Method and Description |
---|---|
void |
assignPendingTaskManagerSlot(PendingTaskManagerSlot pendingTaskManagerSlotToAssign) |
AllocationID |
getAllocationId() |
PendingTaskManagerSlot |
getAssignedPendingTaskManagerSlot() |
long |
getCreationTimestamp() |
JobID |
getJobId() |
CompletableFuture<Acknowledge> |
getRequestFuture() |
ResourceProfile |
getResourceProfile() |
String |
getTargetAddress() |
boolean |
isAssigned() |
void |
setRequestFuture(CompletableFuture<Acknowledge> requestFuture) |
void |
unassignPendingTaskManagerSlot() |
public PendingSlotRequest(SlotRequest slotRequest)
public AllocationID getAllocationId()
public ResourceProfile getResourceProfile()
public JobID getJobId()
public String getTargetAddress()
public long getCreationTimestamp()
public boolean isAssigned()
public void setRequestFuture(@Nullable CompletableFuture<Acknowledge> requestFuture)
@Nullable public CompletableFuture<Acknowledge> getRequestFuture()
@Nullable public PendingTaskManagerSlot getAssignedPendingTaskManagerSlot()
public void assignPendingTaskManagerSlot(@Nonnull PendingTaskManagerSlot pendingTaskManagerSlotToAssign)
public void unassignPendingTaskManagerSlot()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.