public class SimpleSlot extends Slot
ALLOCATED_AND_ALIVE, CANCELLED, instance, jobID, RELEASED, slotNumber, status, STATUS_UPDATER| Constructor and Description |
|---|
SimpleSlot(JobID jobID,
Instance instance,
int slotNumber,
SharedSlot parent,
AbstractID groupID) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
Execution |
getExecution() |
Locality |
getLocality() |
int |
getNumberLeaves() |
void |
releaseSlot() |
boolean |
setExecutedVertex(Execution executedVertex) |
void |
setLocality(Locality locality) |
String |
toString() |
getGroupID, getInstance, getJobID, getParent, getRoot, getSlotNumber, hierarchy, isAlive, isCanceled, isDead, isDisposed, isReleased, markCancelled, markDead, markDisposed, markReleasedpublic SimpleSlot(JobID jobID, Instance instance, int slotNumber, SharedSlot parent, AbstractID groupID)
public int getNumberLeaves()
getNumberLeaves in class Slotpublic Execution getExecution()
public Locality getLocality()
public void setLocality(Locality locality)
public boolean setExecutedVertex(Execution executedVertex)
public void releaseSlot()
releaseSlot in class SlotCopyright © 2015 The Apache Software Foundation. All rights reserved.