Class SlotInfo
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.taskmanager.SlotInfo
-
- All Implemented Interfaces:
Serializable
,ResponseBody
public class SlotInfo extends Object implements ResponseBody, Serializable
Class containing information for a slot ofTaskManagerSlotInformation
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_JOB_ID
static String
FIELD_NAME_RESOURCE
-
Constructor Summary
Constructors Constructor Description SlotInfo(JobID jobId, ResourceProfile resource)
SlotInfo(JobID jobId, ResourceProfileInfo resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
JobID
getJobId()
ResourceProfileInfo
getResource()
int
hashCode()
-
-
-
Field Detail
-
FIELD_NAME_RESOURCE
public static final String FIELD_NAME_RESOURCE
- See Also:
- Constant Field Values
-
FIELD_NAME_JOB_ID
public static final String FIELD_NAME_JOB_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SlotInfo
public SlotInfo(JobID jobId, ResourceProfileInfo resource)
-
SlotInfo
public SlotInfo(JobID jobId, ResourceProfile resource)
-
-