use of com.palantir.atlasdb.sweep.priority.SweepPriorityStore in project atlasdb by palantir.
the class SpecificTableSweeper method create.
public static SpecificTableSweeper create(LockAwareTransactionManager txManager, KeyValueService kvs, SweepTaskRunner sweepRunner, SweepTableFactory tableFactory, BackgroundSweeperPerformanceLogger sweepPerfLogger, SweepMetricsManager sweepMetricsManager, boolean initializeAsync) {
SweepProgressStore sweepProgressStore = SweepProgressStoreImpl.create(kvs, initializeAsync);
SweepPriorityStore sweepPriorityStore = SweepPriorityStoreImpl.create(kvs, tableFactory, initializeAsync);
return new SpecificTableSweeper(txManager, kvs, sweepRunner, sweepPriorityStore, sweepProgressStore, sweepPerfLogger, sweepMetricsManager, System::currentTimeMillis);
}
Aggregations