public interface PhysicalSlotRequestBulk
Modifier and Type | Method and Description |
---|---|
void |
cancel(Throwable cause)
Cancels all requests of this bulk.
|
Set<AllocationID> |
getAllocationIdsOfFulfilledRequests()
Returns
AllocationID s of fulfilled physical slot requests. |
Collection<ResourceProfile> |
getPendingRequests()
Returns
ResourceProfile s of pending physical slot requests. |
Collection<ResourceProfile> getPendingRequests()
ResourceProfile
s of pending physical slot requests.
If a request is pending, it is not fulfilled and vice versa. getAllocationIdsOfFulfilledRequests()
should not return a pending request.
Set<AllocationID> getAllocationIdsOfFulfilledRequests()
AllocationID
s of fulfilled physical slot requests.
If a request is fulfilled, it is not pending and vice versa. getPendingRequests()
should not return a fulfilled request.
void cancel(Throwable cause)
Canceled bulk is not valid and should not be used afterwards.
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.