public class DynamoDBStreamsConsumerStates
extends java.lang.Object
DynamoDBStreamsShardConsumer can be in. The logic for creation of tasks,
and state transitions is contained within the ConsumerState objects.
+-------------------+
| Waiting on Parent | +------------------+
+----+ Shard | | Shutdown |
| | | +--------------------+ Notification |
| +----------+--------+ | Shutdown: | Requested |
| | Success | Requested +-+-------+--------+
| | | | |
| +------+-------------+ | | | Shutdown:
| | Initializing +-----+ | | Requested
| | | | | |
| | +-----+-------+ | |
| +---------+----------+ | | Shutdown: | +-----+-------------+
| | Success | | Terminated | | Shutdown |
| | | | Zombie | | Notification +-------------+
| +------+-------------+ | | | | Complete | |
| | Processing +--+ | | ++-----------+------+ |
| +---+ | | | | | |
| | | +----------+ | | | Shutdown: |
| | +------+-------------+ | \ / | Requested |
| | | | \/ +--------------------+
| | | | ||
| | Success | | || Shutdown:
| +----------+ | || Terminated
| | || Zombie
| | ||
| | ||
| | +---++--------------+
| | | Shutting Down |
| +-----------+ |
| | |
| +--------+----------+
| |
| | Shutdown:
| | All Reasons
| |
| |
| Shutdown: +--------+----------+
| All Reasons | Shutdown |
+-------------------------------------------------------+ Complete |
| |
+-------------------+
| Constructor and Description |
|---|
DynamoDBStreamsConsumerStates() |
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.services.dynamodbv2.streamsadapter.DynamoDBStreamsConsumerStates.ConsumerState |
kinesisToDDBStateTransform(com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShutdownReason reason) |