Package com.palantir.atlasdb.timestamp
Interface DbTimeLockFactory
public interface DbTimeLockFactory
See
AtlasDbFactory
. A DbTimeLockFactory
is an extension of an
AtlasDbFactory that is expected to make suitable decisions around certain parameters to create a raw key-value
service, and it also supports extracting the timestamp series known about by the underlying database.-
Method Summary
Modifier and TypeMethodDescriptioncom.palantir.timestamp.ManagedTimestampService
createManagedTimestampService
(KeyValueService rawKvs, DbTimestampCreationSetting dbTimestampCreationSetting, boolean initializeAsync) createRawKeyValueService
(MetricsManager metricManager, KeyValueServiceConfig config, com.palantir.refreshable.Refreshable<Optional<KeyValueServiceRuntimeConfig>> runtimeConfig, boolean initializeAsync) createTimestampSeriesProvider
(KeyValueService rawKvs, TableReference tableReference, boolean initializeAsync) getType()
-
Method Details
-
getType
String getType() -
createRawKeyValueService
KeyValueService createRawKeyValueService(MetricsManager metricManager, KeyValueServiceConfig config, com.palantir.refreshable.Refreshable<Optional<KeyValueServiceRuntimeConfig>> runtimeConfig, boolean initializeAsync) -
createManagedTimestampService
com.palantir.timestamp.ManagedTimestampService createManagedTimestampService(KeyValueService rawKvs, DbTimestampCreationSetting dbTimestampCreationSetting, boolean initializeAsync) -
createTimestampSeriesProvider
TimestampSeriesProvider createTimestampSeriesProvider(KeyValueService rawKvs, TableReference tableReference, boolean initializeAsync)
-