public class ShardSyncTaskManager extends Object
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
syncShardAndLeaseInfo() |
@Deprecated public ShardSyncTaskManager(ShardDetector shardDetector, LeaseRefresher leaseRefresher, InitialPositionInStreamExtended initialPositionInStream, boolean cleanupLeasesUponShardCompletion, boolean ignoreUnexpectedChildShards, long shardSyncIdleTimeMillis, ExecutorService executorService, MetricsFactory metricsFactory)
NOTE: This constructor is deprecated and will be removed in a future release.
shardDetector
- leaseRefresher
- initialPositionInStream
- cleanupLeasesUponShardCompletion
- ignoreUnexpectedChildShards
- shardSyncIdleTimeMillis
- executorService
- metricsFactory
- public ShardSyncTaskManager(ShardDetector shardDetector, LeaseRefresher leaseRefresher, InitialPositionInStreamExtended initialPositionInStream, boolean cleanupLeasesUponShardCompletion, boolean ignoreUnexpectedChildShards, long shardSyncIdleTimeMillis, ExecutorService executorService, HierarchicalShardSyncer hierarchicalShardSyncer, MetricsFactory metricsFactory)
shardDetector
- leaseRefresher
- initialPositionInStream
- cleanupLeasesUponShardCompletion
- ignoreUnexpectedChildShards
- shardSyncIdleTimeMillis
- executorService
- hierarchicalShardSyncer
- metricsFactory
- Copyright © 2019. All rights reserved.