use of com.palantir.lock.client.NamespacedConjureTimelockServiceImpl in project atlasdb by palantir.
the class InMemoryTimelockServices method createHelperServices.
private void createHelperServices(MetricsManager metricsManager) {
helperServices = TimeLockHelperServices.create(client, metricsManager, ImmutableSet.of(), delegate.getTimelockService(), LockWatchCachingConfig.builder().build(), Optional::empty);
RedirectRetryTargeter redirectRetryTargeter = timeLockAgent.redirectRetryTargeter();
ConjureTimelockService conjureTimelockService = ConjureTimelockResource.jersey(redirectRetryTargeter, _unused -> delegate.getTimelockService());
namespacedConjureTimelockService = new NamespacedConjureTimelockServiceImpl(conjureTimelockService, client);
lockLeaseService = LockLeaseService.create(namespacedConjureTimelockService, new LegacyLeaderTimeGetter(namespacedConjureTimelockService));
}
Aggregations