public class SlotAllocationFuture extends Object
| Constructor and Description |
|---|
SlotAllocationFuture() |
SlotAllocationFuture(AllocatedSlot slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
setFutureAction(SlotAllocationFutureAction action) |
void |
setSlot(AllocatedSlot slot) |
String |
toString() |
AllocatedSlot |
waitTillAllocated() |
AllocatedSlot |
waitTillAllocated(long timeout) |
public SlotAllocationFuture()
public SlotAllocationFuture(AllocatedSlot slot)
public AllocatedSlot waitTillAllocated() throws InterruptedException
InterruptedExceptionpublic AllocatedSlot waitTillAllocated(long timeout) throws InterruptedException
InterruptedExceptionpublic void setFutureAction(SlotAllocationFutureAction action)
public void setSlot(AllocatedSlot slot)
Copyright © 2015 The Apache Software Foundation. All rights reserved.