public enum TaskType extends Enum<TaskType>
Enum Constant and Description |
---|
BLOCK_ON_PARENT_SHARDS
Polls and waits until parent shard(s) have been fully processed.
|
INITIALIZE
Initialization of ShardRecordProcessor (and Amazon Kinesis Client Library internal state for a shard).
|
PROCESS
Fetching and processing of records.
|
SHARDSYNC
Sync leases/activities corresponding to Kinesis shards.
|
SHUTDOWN
Shutdown of ShardRecordProcessor.
|
SHUTDOWN_COMPLETE
Occurs once the shutdown has been completed
|
SHUTDOWN_NOTIFICATION
Graceful shutdown has been requested, and notification of the record processor will occur.
|
Modifier and Type | Method and Description |
---|---|
static TaskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskType BLOCK_ON_PARENT_SHARDS
public static final TaskType INITIALIZE
public static final TaskType PROCESS
public static final TaskType SHUTDOWN
public static final TaskType SHUTDOWN_NOTIFICATION
public static final TaskType SHUTDOWN_COMPLETE
public static final TaskType SHARDSYNC
public static TaskType[] values()
for (TaskType c : TaskType.values()) System.out.println(c);
public static TaskType 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 nullCopyright © 2021. All rights reserved.