/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2013, 2017 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
import org.openjdk.jmh.annotations.Warmup;
/**
- * @author Lukas Sedlak <lsedlak@cisco.com>
+ * Abstract class for in-memory Datastore transaction benchmarks.
+ *
+ * @author Lukas Sedlak
*/
-public abstract class AbstractInMemoryDatastoreWriteTransactionBenchmark extends AbstractInMemoryWriteTransactionBenchmark {
+public abstract class AbstractInMemoryDatastoreWriteTransactionBenchmark
+ extends AbstractInMemoryWriteTransactionBenchmark {
protected InMemoryDOMDataStore domStore;
protected void initTestNode() throws Exception {
- final YangInstanceIdentifier testPath = YangInstanceIdentifier.builder(BenchmarkModel.TEST_PATH)
- .build();
+ final YangInstanceIdentifier testPath = YangInstanceIdentifier.builder(BenchmarkModel.TEST_PATH).build();
DOMStoreReadWriteTransaction writeTx = domStore.newReadWriteTransaction();
writeTx.write(testPath, provideOuterListNode());