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() |
org.apache.flink.api.common.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 org.apache.flink.api.common.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–2020 The Apache Software Foundation. All rights reserved.