public interface IKinesisClientLeaseManager extends ILeaseManager<KinesisClientLease>
Modifier and Type | Method and Description |
---|---|
ExtendedSequenceNumber |
getCheckpoint(String shardId)
Gets the current checkpoint of the shard.
|
createLeaseIfNotExists, createLeaseTableIfNotExists, deleteAll, deleteLease, evictLease, getLease, leaseTableExists, listLeases, renewLease, takeLease, updateLease, waitUntilLeaseTableExists
ExtendedSequenceNumber getCheckpoint(String shardId) throws ProvisionedThroughputException, InvalidStateException, DependencyException
shardId
- Checkpoint of this shard will be returnedProvisionedThroughputException
- if DynamoDB update fails due to lack of capacityInvalidStateException
- if lease table does not existDependencyException
- if DynamoDB update fails in an unexpected wayCopyright © 2016. All rights reserved.