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