Package com.palantir.atlasdb.timestamp
Interface DbTimeLockFactory
-
public interface DbTimeLockFactory
SeeAtlasDbFactory
. ADbTimeLockFactory
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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description com.palantir.timestamp.ManagedTimestampService
createManagedTimestampService(KeyValueService rawKvs, DbTimestampCreationSetting dbTimestampCreationSetting, boolean initializeAsync)
default KeyValueService
createRawKeyValueService(MetricsManager metricsManager, KeyValueServiceConfig config, LeaderConfig leaderConfig)
Deprecated.Creating a DbKeyValueService with this method will not support live reloading the DB password.KeyValueService
createRawKeyValueService(MetricsManager metricManager, KeyValueServiceConfig config, com.palantir.refreshable.Refreshable<Optional<KeyValueServiceRuntimeConfig>> runtimeConfig, LeaderConfig leaderConfig)
TimestampSeriesProvider
createTimestampSeriesProvider(KeyValueService rawKvs, TableReference tableReference, boolean initializeAsync)
String
getType()
-
-
-
Method Detail
-
getType
String getType()
-
createRawKeyValueService
@Deprecated default KeyValueService createRawKeyValueService(MetricsManager metricsManager, KeyValueServiceConfig config, LeaderConfig leaderConfig)
Deprecated.Creating a DbKeyValueService with this method will not support live reloading the DB password. UsecreateRawKeyValueService(MetricsManager, KeyValueServiceConfig, Refreshable, LeaderConfig)
instead.
-
createRawKeyValueService
KeyValueService createRawKeyValueService(MetricsManager metricManager, KeyValueServiceConfig config, com.palantir.refreshable.Refreshable<Optional<KeyValueServiceRuntimeConfig>> runtimeConfig, LeaderConfig leaderConfig)
-
createManagedTimestampService
com.palantir.timestamp.ManagedTimestampService createManagedTimestampService(KeyValueService rawKvs, DbTimestampCreationSetting dbTimestampCreationSetting, boolean initializeAsync)
-
createTimestampSeriesProvider
TimestampSeriesProvider createTimestampSeriesProvider(KeyValueService rawKvs, TableReference tableReference, boolean initializeAsync)
-
-