| Constructor and Description |
|---|
AllocatedSlot(JobID jobID,
Instance instance,
int slotNumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
Execution |
getExecutedVertex() |
Instance |
getInstance() |
JobID |
getJobID()
Returns the ID of the job this allocated slot belongs to.
|
Locality |
getLocality() |
int |
getSlotNumber() |
boolean |
isAlive() |
boolean |
isCanceled() |
boolean |
isReleased() |
protected boolean |
markReleased() |
void |
releaseSlot() |
boolean |
setExecutedVertex(Execution executedVertex) |
void |
setLocality(Locality locality) |
String |
toString() |
public JobID getJobID()
public Instance getInstance()
public int getSlotNumber()
public Execution getExecutedVertex()
public Locality getLocality()
public void setLocality(Locality locality)
public boolean setExecutedVertex(Execution executedVertex)
public boolean isAlive()
public boolean isCanceled()
public boolean isReleased()
public void cancel()
public void releaseSlot()
protected boolean markReleased()
Copyright © 2015 The Apache Software Foundation. All rights reserved.