Search in sources :

Example 1 with DelegatingBackupTimeLockServiceView

use of com.palantir.atlasdb.backup.DelegatingBackupTimeLockServiceView in project atlasdb by palantir.

the class AtlasDbEteServer method createBackupTimeLockServiceView.

private BackupTimeLockServiceView createBackupTimeLockServiceView(TransactionManager txManager) {
    TimelockService timelockService = txManager.getTimelockService();
    TimestampManagementService timestampManagementService = txManager.getTimestampManagementService();
    return new DelegatingBackupTimeLockServiceView(timelockService, timestampManagementService);
}
Also used : TimestampManagementService(com.palantir.timestamp.TimestampManagementService) TimelockService(com.palantir.lock.v2.TimelockService) DelegatingBackupTimeLockServiceView(com.palantir.atlasdb.backup.DelegatingBackupTimeLockServiceView)

Aggregations

DelegatingBackupTimeLockServiceView (com.palantir.atlasdb.backup.DelegatingBackupTimeLockServiceView)1 TimelockService (com.palantir.lock.v2.TimelockService)1 TimestampManagementService (com.palantir.timestamp.TimestampManagementService)1