use of com.palantir.atlasdb.keyvalue.impl.StatsTrackingKeyValueService in project atlasdb by palantir.
the class AtlasDbTestCase method setUp.
@Before
public void setUp() throws Exception {
timestampService = new InMemoryTimestampService();
KeyValueService kvs = getBaseKeyValueService();
keyValueServiceWithStats = new StatsTrackingKeyValueService(kvs);
keyValueService = new TrackingKeyValueService(keyValueServiceWithStats);
TransactionTables.createTables(kvs);
transactionService = TransactionServices.createTransactionService(kvs);
conflictDetectionManager = ConflictDetectionManagers.createWithoutWarmingCache(keyValueService);
sweepStrategyManager = SweepStrategyManagers.createDefault(keyValueService);
serializableTxManager = new TestTransactionManagerImpl(keyValueService, timestampService, lockClient, lockService, transactionService, conflictDetectionManager, sweepStrategyManager, wrappingSweepQueue);
txManager = new CachingTestTransactionManager(serializableTxManager);
}
Aggregations