public class AllocatedSlot extends Object
This class is thread-safe.
| Constructor and Description |
|---|
AllocatedSlot(JobID jobID)
Creates a new allocated slice on the given hosting instance.
|
| Modifier and Type | Method and Description |
|---|---|
AllocationID |
getAllocationID()
Returns the allocation ID of this slice.
|
JobID |
getJobID()
Returns the ID of the job this allocated slice belongs to.
|
public AllocatedSlot(JobID jobID)
jobID - the ID of the job this slice belongs topublic AllocationID getAllocationID()
public JobID getJobID()
Copyright © 2014 The Apache Software Foundation. All rights reserved.