public static enum TopologyInfo._Fields extends Enum<TopologyInfo._Fields> implements org.apache.storm.thrift.TFieldIdEnum
Enum Constant and Description |
---|
ASSIGNED_CPU |
ASSIGNED_MEMOFFHEAP |
ASSIGNED_MEMONHEAP |
COMPONENT_DEBUG |
ERRORS |
EXECUTORS |
ID |
NAME |
OWNER |
REPLICATION_COUNT |
REQUESTED_CPU |
REQUESTED_MEMOFFHEAP |
REQUESTED_MEMONHEAP |
SCHED_STATUS |
STATUS |
STORM_VERSION |
UPTIME_SECS |
Modifier and Type | Method and Description |
---|---|
static TopologyInfo._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static TopologyInfo._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static TopologyInfo._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static TopologyInfo._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopologyInfo._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyInfo._Fields ID
public static final TopologyInfo._Fields NAME
public static final TopologyInfo._Fields UPTIME_SECS
public static final TopologyInfo._Fields EXECUTORS
public static final TopologyInfo._Fields STATUS
public static final TopologyInfo._Fields ERRORS
public static final TopologyInfo._Fields COMPONENT_DEBUG
public static final TopologyInfo._Fields STORM_VERSION
public static final TopologyInfo._Fields SCHED_STATUS
public static final TopologyInfo._Fields OWNER
public static final TopologyInfo._Fields REPLICATION_COUNT
public static final TopologyInfo._Fields REQUESTED_MEMONHEAP
public static final TopologyInfo._Fields REQUESTED_MEMOFFHEAP
public static final TopologyInfo._Fields REQUESTED_CPU
public static final TopologyInfo._Fields ASSIGNED_MEMONHEAP
public static final TopologyInfo._Fields ASSIGNED_MEMOFFHEAP
public static final TopologyInfo._Fields ASSIGNED_CPU
public static TopologyInfo._Fields[] values()
for (TopologyInfo._Fields c : TopologyInfo._Fields.values()) System.out.println(c);
public static TopologyInfo._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 TopologyInfo._Fields findByThriftId(int fieldId)
public static TopologyInfo._Fields findByThriftIdOrThrow(int fieldId)
public static TopologyInfo._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.