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.
|
void |
checkAndCreateLeaseForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean cleanupLeasesOfCompletedShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope,
List<software.amazon.awssdk.services.kinesis.model.Shard> latestShards) |
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 - DependencyExceptionInvalidStateExceptionProvisionedThroughputExceptionKinesisClientLibIOExceptionpublic void checkAndCreateLeaseForNewShards(@NonNull
ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean cleanupLeasesOfCompletedShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope,
List<software.amazon.awssdk.services.kinesis.model.Shard> latestShards)
throws DependencyException,
InvalidStateException,
ProvisionedThroughputException,
KinesisClientLibIOException
Copyright © 2020. All rights reserved.