public class TaskManagerDetailsInfo extends TaskManagerInfo
TaskExecutor and more detailed metrics.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FIELD_NAME_ALLOCATED_SLOTS |
static String |
FIELD_NAME_METRICS |
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| 构造器和说明 |
|---|
TaskManagerDetailsInfo(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) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
Collection<SlotInfo> |
getAllocatedSlots() |
TaskManagerMetricsInfo |
getTaskManagerMetricsInfo() |
int |
hashCode() |
getAddress, getBlocked, getDataPort, getFreeResource, getHardwareDescription, getJmxPort, getLastHeartbeat, getMemoryConfiguration, getNumberAvailableSlots, getNumberSlots, getResourceId, getTotalResourcepublic 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)
public TaskManagerDetailsInfo(TaskManagerInfoWithSlots taskManagerInfoWithSlots, TaskManagerMetricsInfo taskManagerMetrics)
@VisibleForTesting public final TaskManagerMetricsInfo getTaskManagerMetricsInfo()
public Collection<SlotInfo> getAllocatedSlots()
public boolean equals(Object o)
equals 在类中 TaskManagerInfopublic int hashCode()
hashCode 在类中 TaskManagerInfoCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.