Class TaskManagerDetailsInfo
java.lang.Object
org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerInfo
org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerDetailsInfo
- All Implemented Interfaces:
Serializable,ResponseBody
Message containing base information about a
TaskExecutor and more detailed metrics.- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerInfo
FIELD_NAME_ADDRESS, FIELD_NAME_AVAILABLE_RESOURCE, FIELD_NAME_BLOCKED, FIELD_NAME_DATA_PORT, FIELD_NAME_HARDWARE, FIELD_NAME_JMX_PORT, FIELD_NAME_LAST_HEARTBEAT, FIELD_NAME_MEMORY, FIELD_NAME_NUMBER_AVAILABLE_SLOTS, FIELD_NAME_NUMBER_SLOTS, FIELD_NAME_RESOURCE_ID, FIELD_NAME_TOTAL_RESOURCE -
Constructor Summary
ConstructorsConstructorDescriptionTaskManagerDetailsInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, Boolean blocked, Collection<SlotInfo> allocatedSlots, TaskManagerMetricsInfo taskManagerMetrics) TaskManagerDetailsInfo(TaskManagerInfoWithSlots taskManagerInfoWithSlots, TaskManagerMetricsInfo taskManagerMetrics) -
Method Summary
Methods inherited from class org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerInfo
getAddress, getBlocked, getDataPort, getFreeResource, getHardwareDescription, getJmxPort, getLastHeartbeat, getMemoryConfiguration, getNumberAvailableSlots, getNumberSlots, getResourceId, getTotalResource
-
Field Details
-
FIELD_NAME_METRICS
- See Also:
-
FIELD_NAME_ALLOCATED_SLOTS
- See Also:
-
-
Constructor Details
-
TaskManagerDetailsInfo
public TaskManagerDetailsInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, @Nullable Boolean blocked, Collection<SlotInfo> allocatedSlots, TaskManagerMetricsInfo taskManagerMetrics) -
TaskManagerDetailsInfo
public TaskManagerDetailsInfo(TaskManagerInfoWithSlots taskManagerInfoWithSlots, TaskManagerMetricsInfo taskManagerMetrics)
-
-
Method Details
-
getTaskManagerMetricsInfo
-
getAllocatedSlots
-
equals
- Overrides:
equalsin classTaskManagerInfo
-
hashCode
public int hashCode()- Overrides:
hashCodein classTaskManagerInfo
-