Package | Description |
---|---|
software.amazon.kinesis.checkpoint.dynamodb | |
software.amazon.kinesis.exceptions | |
software.amazon.kinesis.processor |
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
DynamoDBCheckpointer.getCheckpoint(String leaseKey) |
Checkpoint |
DynamoDBCheckpointer.getCheckpointObject(String leaseKey) |
void |
DynamoDBCheckpointer.prepareCheckpoint(String leaseKey,
ExtendedSequenceNumber pendingCheckpoint,
String concurrencyToken) |
void |
DynamoDBCheckpointer.prepareCheckpoint(String leaseKey,
ExtendedSequenceNumber pendingCheckpoint,
String concurrencyToken,
byte[] pendingCheckpointState) |
void |
DynamoDBCheckpointer.setCheckpoint(String leaseKey,
ExtendedSequenceNumber checkpointValue,
String concurrencyToken) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidStateException
This is thrown when the Amazon Kinesis Client Library encounters issues with its internal state (e.g.
|
class |
KinesisClientLibNonRetryableException
Non-retryable exceptions.
|
class |
ShutdownException
The ShardRecordProcessor instance has been shutdown (e.g.
|
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
Checkpointer.getCheckpoint(String leaseKey)
Get the current checkpoint stored for the specified shard.
|
Checkpoint |
Checkpointer.getCheckpointObject(String leaseKey)
Get the current checkpoint stored for the specified shard, which holds the sequence numbers for the checkpoint
and pending checkpoint.
|
void |
Checkpointer.prepareCheckpoint(String leaseKey,
ExtendedSequenceNumber pendingCheckpoint,
String concurrencyToken)
Record intent to checkpoint for a shard.
|
void |
Checkpointer.prepareCheckpoint(String leaseKey,
ExtendedSequenceNumber pendingCheckpoint,
String concurrencyToken,
byte[] pendingCheckpointState)
Record intent to checkpoint for a shard.
|
void |
Checkpointer.setCheckpoint(String leaseKey,
ExtendedSequenceNumber checkpointValue,
String concurrencyToken)
Record a checkpoint for a shard (e.g.
|
Copyright © 2021. All rights reserved.