Package | Description |
---|---|
org.apache.storm.generated |
Modifier and Type | Field and Description |
---|---|
static Map<WorkerResources._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
WorkerResources.metaDataMap |
Modifier and Type | Method and Description |
---|---|
WorkerResources._Fields |
WorkerResources.fieldForId(int fieldId) |
static WorkerResources._Fields |
WorkerResources._Fields.findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static WorkerResources._Fields |
WorkerResources._Fields.findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static WorkerResources._Fields |
WorkerResources._Fields.findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
|
static WorkerResources._Fields |
WorkerResources._Fields.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerResources._Fields[] |
WorkerResources._Fields.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Object |
WorkerResources.getFieldValue(WorkerResources._Fields field) |
boolean |
WorkerResources.isSet(WorkerResources._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
WorkerResources.setFieldValue(WorkerResources._Fields field,
Object value) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.