public class HierarchicalShardSyncer extends Object
| Constructor and Description |
|---|
HierarchicalShardSyncer() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAndCreateLeaseForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean cleanupLeasesOfCompletedShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
Check and create leases for any new shards (e.g.
|
public void checkAndCreateLeaseForNewShards(@NonNull
ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean cleanupLeasesOfCompletedShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
throws DependencyException,
InvalidStateException,
ProvisionedThroughputException,
KinesisClientLibIOException
shardDetector - leaseRefresher - initialPosition - cleanupLeasesOfCompletedShards - ignoreUnexpectedChildShards - scope - DependencyExceptionInvalidStateExceptionProvisionedThroughputExceptionKinesisClientLibIOExceptionCopyright © 2019. All rights reserved.