| Modifier and Type | Method and Description |
|---|---|
Checkpointer |
CheckpointFactory.createCheckpointer(LeaseCoordinator leaseCoordinator,
LeaseRefresher leaseRefresher) |
| Modifier and Type | Method and Description |
|---|---|
Checkpointer |
DynamoDBCheckpointFactory.createCheckpointer(LeaseCoordinator leaseLeaseCoordinator,
LeaseRefresher leaseRefresher) |
| Constructor and Description |
|---|
MigrationReadyMonitor(MetricsFactory metricsFactory,
Callable<Long> timeProvider,
LeaderDecider leaderDecider,
String currentWorkerId,
WorkerMetricStatsDAO workerMetricStatsDAO,
long workerMetricsExpirySeconds,
LeaseRefresher leaseRefresher,
ScheduledExecutorService stateMachineThreadPool,
Runnable callback,
long callbackStabilizationInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
LeaseRefresher |
LeaseCoordinator.leaseRefresher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
List<software.amazon.awssdk.services.kinesis.model.Shard> latestShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope,
boolean isLeaseTableEmpty)
Provide a pre-collected list of shards to avoid calling ListShards API
|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
MetricsScope scope,
boolean ignoreUnexpectedChildShards,
boolean isLeaseTableEmpty)
Check and create leases for any new shards (e.g.
|
| Constructor and Description |
|---|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory)
Constructor.
|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
MetricsFactory metricsFactory)
Deprecated.
This constructor is deprecated and will be removed in a future release.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynamoDBLeaseRefresher
An implementation of
LeaseRefresher that uses DynamoDB. |
| Modifier and Type | Method and Description |
|---|---|
LeaseRefresher |
DynamoDBLeaseCoordinator.leaseRefresher() |
| Constructor and Description |
|---|
DynamoDBLeaseCoordinator(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
boolean enablePriorityLeaseAssignment,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
MetricsFactory metricsFactory,
LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig workerUtilizationAwareAssignmentConfig,
LeaseManagementConfig.GracefulLeaseHandoffConfig gracefulLeaseHandoffConfig,
ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap,
long leaseAssignmentIntervalMillis)
Constructor.
|
DynamoDBLeaseRenewer(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
ExecutorService executorService,
MetricsFactory metricsFactory,
LeaseStatsRecorder leaseStatsRecorder,
Consumer<Lease> leaseGracefulShutdownCallback)
Constructor.
|
DynamoDBLeaseTaker(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
MetricsFactory metricsFactory) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ShardSyncer.checkAndCreateLeasesForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
Deprecated.
|
Copyright © 2025. All rights reserved.