public class SlotStatus extends Object implements Serializable
Constructor and Description |
---|
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile) |
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile,
JobID jobID,
AllocationID allocationID) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AllocationID |
getAllocationID()
Get the allocation id of this slot.
|
JobID |
getJobID()
Get the job id of the slot allocated for.
|
ResourceProfile |
getResourceProfile()
Get the resource profile of this slot.
|
SlotID |
getSlotID()
Get the unique identification of this slot.
|
int |
hashCode() |
String |
toString() |
public SlotStatus(SlotID slotID, ResourceProfile resourceProfile)
public SlotStatus(SlotID slotID, ResourceProfile resourceProfile, JobID jobID, AllocationID allocationID)
public SlotID getSlotID()
public ResourceProfile getResourceProfile()
public AllocationID getAllocationID()
public JobID getJobID()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.