Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
DoesNothingPreparedCheckpointer.pendingCheckpoint() |
ExtendedSequenceNumber |
ShardPreparedCheckpointer.pendingCheckpoint() |
Modifier and Type | Method and Description |
---|---|
void |
ShardRecordProcessorCheckpointer.largestPermittedCheckpointValue(ExtendedSequenceNumber largestPermittedCheckpointValue) |
void |
ShardRecordProcessorCheckpointer.sequenceNumberAtShardEnd(ExtendedSequenceNumber extendedSequenceNumber)
Used to remember the last extended sequence number before SHARD_END to allow us to prevent the checkpointer
from checkpointing at the end of the shard twice (i.e.
|
void |
ShardRecordProcessorCheckpointer.setInitialCheckpointValue(ExtendedSequenceNumber initialCheckpoint) |
Constructor and Description |
---|
Checkpoint(ExtendedSequenceNumber checkpoint,
ExtendedSequenceNumber pendingCheckpoint)
Deprecated.
|
Checkpoint(ExtendedSequenceNumber checkpoint,
ExtendedSequenceNumber pendingCheckpoint,
byte[] pendingCheckpointState)
Constructor.
|
DoesNothingPreparedCheckpointer(ExtendedSequenceNumber sequenceNumber)
Constructor.
|
ShardPreparedCheckpointer(ExtendedSequenceNumber pendingCheckpointSequenceNumber,
RecordProcessorCheckpointer checkpointer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
DynamoDBCheckpointer.getCheckpoint(String leaseKey) |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
DynamoDBCheckpointer.setCheckpoint(String leaseKey,
ExtendedSequenceNumber checkpoint,
UUID concurrencyToken) |
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
LeaseRefresher.getCheckpoint(String leaseKey)
Gets the current checkpoint of the shard.
|
Modifier and Type | Method and Description |
---|---|
void |
Lease.checkpoint(ExtendedSequenceNumber checkpoint)
Sets checkpoint.
|
void |
Lease.pendingCheckpoint(ExtendedSequenceNumber pendingCheckpoint)
Sets pending checkpoint.
|
Constructor and Description |
---|
Lease(String leaseKey,
String leaseOwner,
Long leaseCounter,
UUID concurrencyToken,
Long lastCounterIncrementNanos,
ExtendedSequenceNumber checkpoint,
ExtendedSequenceNumber pendingCheckpoint,
Long ownerSwitchesSinceCheckpoint,
Set<String> parentShardIds)
Deprecated.
|
Lease(String leaseKey,
String leaseOwner,
Long leaseCounter,
UUID concurrencyToken,
Long lastCounterIncrementNanos,
ExtendedSequenceNumber checkpoint,
ExtendedSequenceNumber pendingCheckpoint,
Long ownerSwitchesSinceCheckpoint,
Set<String> parentShardIds,
Set<String> childShardIds,
byte[] pendingCheckpointState,
HashKeyRangeForLease hashKeyRangeForLease) |
ShardInfo(String shardId,
String concurrencyToken,
Collection<String> parentShardIds,
ExtendedSequenceNumber checkpoint)
Creates a new ShardInfo object.
|
ShardInfo(String shardId,
String concurrencyToken,
Collection<String> parentShardIds,
ExtendedSequenceNumber checkpoint,
String streamIdentifierSer)
Creates a new ShardInfo object that has an option to pass a serialized streamIdentifier.
|
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
DynamoDBLeaseRefresher.getCheckpoint(String leaseKey)
Gets the current checkpoint of the shard.
|
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
Checkpointer.getCheckpoint(String leaseKey)
Get the current checkpoint stored for the specified shard.
|
ExtendedSequenceNumber |
PreparedCheckpointer.pendingCheckpoint() |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordsPublisher.start(ExtendedSequenceNumber extendedSequenceNumber,
InitialPositionInStreamExtended initialPositionInStreamExtended)
Initializes the publisher with where to start processing.
|
Modifier and Type | Method and Description |
---|---|
void |
FanOutRecordsPublisher.start(ExtendedSequenceNumber extendedSequenceNumber,
InitialPositionInStreamExtended initialPositionInStreamExtended) |
Modifier and Type | Field and Description |
---|---|
static ExtendedSequenceNumber |
ExtendedSequenceNumber.AT_TIMESTAMP
Special value for AT_TIMESTAMP.
|
static ExtendedSequenceNumber |
ExtendedSequenceNumber.LATEST
Special value for LATEST.
|
static ExtendedSequenceNumber |
ExtendedSequenceNumber.SHARD_END
Special value for SHARD_END.
|
static ExtendedSequenceNumber |
ExtendedSequenceNumber.TRIM_HORIZON
Special value for TRIM_HORIZON.
|
Modifier and Type | Method and Description |
---|---|
int |
ExtendedSequenceNumber.compareTo(ExtendedSequenceNumber extendedSequenceNumber)
Compares this with another ExtendedSequenceNumber using these rules.
|
Modifier and Type | Method and Description |
---|---|
void |
DataFetcher.initialize(ExtendedSequenceNumber initialCheckpoint,
InitialPositionInStreamExtended initialPositionInStream)
Initializes this KinesisDataFetcher's iterator based on the checkpointed sequence number as an
ExtendedSequenceNumber.
|
void |
KinesisDataFetcher.initialize(ExtendedSequenceNumber initialCheckpoint,
InitialPositionInStreamExtended initialPositionInStream) |
void |
BlockingRecordsPublisher.start(ExtendedSequenceNumber extendedSequenceNumber,
InitialPositionInStreamExtended initialPositionInStreamExtended) |
void |
PrefetchRecordsPublisher.start(ExtendedSequenceNumber extendedSequenceNumber,
InitialPositionInStreamExtended initialPositionInStreamExtended) |
Copyright © 2021. All rights reserved.