public static enum LeaderElectionContext.TTYPE extends Enum<LeaderElectionContext.TTYPE>
| Enum Constant and Description |
|---|
ALWAYS_TASKS |
HOUSEKEEPING |
WORKER |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
TableName |
getTableName() |
static LeaderElectionContext.TTYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeaderElectionContext.TTYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeaderElectionContext.TTYPE HOUSEKEEPING
public static final LeaderElectionContext.TTYPE WORKER
public static final LeaderElectionContext.TTYPE ALWAYS_TASKS
public static LeaderElectionContext.TTYPE[] values()
for (LeaderElectionContext.TTYPE c : LeaderElectionContext.TTYPE.values()) System.out.println(c);
public static LeaderElectionContext.TTYPE 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 TableName getTableName()
public String getName()
Copyright © 2024 The Apache Software Foundation. All rights reserved.