public class SlotRequest extends Object implements Serializable
| Constructor and Description |
|---|
SlotRequest(JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress) |
| Modifier and Type | Method and Description |
|---|---|
AllocationID |
getAllocationId()
Get the unique identification of this request
|
JobID |
getJobId()
Get the JobID of the slot requested for.
|
ResourceProfile |
getResourceProfile()
Get the resource profile of the desired slot
|
String |
getTargetAddress() |
public SlotRequest(JobID jobId, AllocationID allocationId, ResourceProfile resourceProfile, String targetAddress)
public JobID getJobId()
public AllocationID getAllocationId()
public ResourceProfile getResourceProfile()
public String getTargetAddress()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.