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
InterruptedException
public SimpleSlot waitTillAllocated(long timeout) throws InterruptedException
InterruptedException
public void setFutureAction(SlotAllocationFutureAction action)
public void setSlot(SimpleSlot slot)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.