public static enum WorkerSummary._Fields extends Enum<WorkerSummary._Fields> implements org.apache.storm.thrift.TFieldIdEnum
Enum Constant and Description |
---|
ASSIGNED_CPU |
ASSIGNED_MEMOFFHEAP |
ASSIGNED_MEMONHEAP |
COMPONENT_TO_NUM_TASKS |
HOST |
NUM_EXECUTORS |
OWNER |
PORT |
REQUESTED_CPU |
REQUESTED_MEMOFFHEAP |
REQUESTED_MEMONHEAP |
SUPERVISOR_ID |
TIME_SECS |
TOPOLOGY_ID |
TOPOLOGY_NAME |
UPTIME_SECS |
Modifier and Type | Method and Description |
---|---|
static WorkerSummary._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static WorkerSummary._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static WorkerSummary._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static WorkerSummary._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerSummary._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerSummary._Fields SUPERVISOR_ID
public static final WorkerSummary._Fields HOST
public static final WorkerSummary._Fields PORT
public static final WorkerSummary._Fields TOPOLOGY_ID
public static final WorkerSummary._Fields TOPOLOGY_NAME
public static final WorkerSummary._Fields NUM_EXECUTORS
public static final WorkerSummary._Fields COMPONENT_TO_NUM_TASKS
public static final WorkerSummary._Fields TIME_SECS
public static final WorkerSummary._Fields UPTIME_SECS
public static final WorkerSummary._Fields REQUESTED_MEMONHEAP
public static final WorkerSummary._Fields REQUESTED_MEMOFFHEAP
public static final WorkerSummary._Fields REQUESTED_CPU
public static final WorkerSummary._Fields ASSIGNED_MEMONHEAP
public static final WorkerSummary._Fields ASSIGNED_MEMOFFHEAP
public static final WorkerSummary._Fields ASSIGNED_CPU
public static final WorkerSummary._Fields OWNER
public static WorkerSummary._Fields[] values()
for (WorkerSummary._Fields c : WorkerSummary._Fields.values()) System.out.println(c);
public static WorkerSummary._Fields valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static WorkerSummary._Fields findByThriftId(int fieldId)
public static WorkerSummary._Fields findByThriftIdOrThrow(int fieldId)
public static WorkerSummary._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
in interface org.apache.storm.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
in interface org.apache.storm.thrift.TFieldIdEnum
Copyright © 2023 The Apache Software Foundation. All rights reserved.