Class TaskManagerInfo
java.lang.Object
org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerInfo
- All Implemented Interfaces:
Serializable,ResponseBody
- Direct Known Subclasses:
TaskManagerDetailsInfo
Base class containing information for a
TaskExecutor.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfile totalResource, ResourceProfile freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, Boolean blocked) TaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, Boolean blocked) -
Method Summary
-
Field Details
-
FIELD_NAME_RESOURCE_ID
- See Also:
-
FIELD_NAME_ADDRESS
- See Also:
-
FIELD_NAME_DATA_PORT
- See Also:
-
FIELD_NAME_JMX_PORT
- See Also:
-
FIELD_NAME_LAST_HEARTBEAT
- See Also:
-
FIELD_NAME_NUMBER_SLOTS
- See Also:
-
FIELD_NAME_NUMBER_AVAILABLE_SLOTS
- See Also:
-
FIELD_NAME_TOTAL_RESOURCE
- See Also:
-
FIELD_NAME_AVAILABLE_RESOURCE
- See Also:
-
FIELD_NAME_HARDWARE
- See Also:
-
FIELD_NAME_MEMORY
- See Also:
-
FIELD_NAME_BLOCKED
- See Also:
-
-
Constructor Details
-
TaskManagerInfo
public TaskManagerInfo(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) -
TaskManagerInfo
public TaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfile totalResource, ResourceProfile freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, @Nullable Boolean blocked)
-
-
Method Details
-
getResourceId
-
getAddress
-
getDataPort
public int getDataPort() -
getJmxPort
public int getJmxPort() -
getLastHeartbeat
public long getLastHeartbeat() -
getNumberSlots
public int getNumberSlots() -
getNumberAvailableSlots
public int getNumberAvailableSlots() -
getTotalResource
-
getFreeResource
-
getHardwareDescription
-
getMemoryConfiguration
-
getBlocked
public boolean getBlocked() -
equals
-
hashCode
public int hashCode()
-