public enum EntityType extends Enum<EntityType>
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityType.CoordinatorStateType
Subset enum for entity types that are specifically coordinator state entities.
|
| Enum Constant and Description |
|---|
CLIENT_VERSION_MIGRATION
Client version migration state (KCLv2.x -> KCLv3.x).
|
LEADER_LOCK
Leader election lock entry.
|
LEASE
Lease entities tracking shard ownership across workers.
|
STREAM_INFO
Stream metadata tracking stream identifiers and their IDs.
|
TABLE_MIGRATION
Table migration state (to migrate legacy coordinator and worker metrics table
to lease table).
|
WORKER_METRIC_STATS
Worker metric stats for resource-based lease assignment.
|
| Modifier and Type | Method and Description |
|---|---|
static EntityType |
fromDdbValue(String ddbValue)
Look up an EntityType by its DDB value.
|
String |
getDdbValue()
The string value persisted in DynamoDB as the entityType attribute.
|
static EntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityType LEASE
public static final EntityType STREAM_INFO
public static final EntityType LEADER_LOCK
public static final EntityType CLIENT_VERSION_MIGRATION
public static final EntityType TABLE_MIGRATION
public static final EntityType WORKER_METRIC_STATS
public static EntityType[] values()
for (EntityType c : EntityType.values()) System.out.println(c);
public static EntityType 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 String getDdbValue()
public static EntityType fromDdbValue(String ddbValue)
ddbValue - the value stored in DynamoDBCopyright © 2026. All rights reserved.