Convert dsbenchmark to blueprint
[controller.git] / benchmark / dsbenchmark / src / main / java / org / opendaylight / dsbenchmark / txchain / TxchainDomDelete.java
index 2465548c74be1633fe8d091f2786814b3bc55505..8e32897a042986f2e00fbe54ffab5f1cd79d2fcd 100644 (file)
@@ -37,12 +37,12 @@ public class TxchainDomDelete extends DatastoreAbstractWriter implements Transac
             final long writesPerTx, final DataStore dataStore) {
         super(StartTestInput.Operation.DELETE, outerListElem, innerListElem, writesPerTx, dataStore);
         this.domDataBroker = domDataBroker;
-        LOG.info("Created TxchainDomDelete");
+        LOG.debug("Created TxchainDomDelete");
     }
 
     @Override
     public void createList() {
-        LOG.info("TxchainDomDelete: creating data in the data store");
+        LOG.debug("TxchainDomDelete: creating data in the data store");
 
         // Dump the whole list into the data store in a single transaction
         // with <outerListElem> PUTs on the transaction
@@ -100,16 +100,16 @@ public class TxchainDomDelete extends DatastoreAbstractWriter implements Transac
             txSubmitted++;
             tx.submit().checkedGet();
             txOk++;
-        } catch (TransactionCommitFailedException e) {
+        } catch (final TransactionCommitFailedException e) {
             LOG.error("Transaction failed", e);
             txError++;
         }
         try {
             chain.close();
-        } catch (IllegalStateException e) {
+        } catch (final IllegalStateException e) {
             LOG.error("Transaction close failed,", e);
         }
-        LOG.info("Transactions: submitted {}, completed {}", txSubmitted, (txOk + txError));
+        LOG.debug("Transactions: submitted {}, completed {}", txSubmitted, (txOk + txError));
     }
 
     @Override
@@ -121,6 +121,6 @@ public class TxchainDomDelete extends DatastoreAbstractWriter implements Transac
 
     @Override
     public void onTransactionChainSuccessful(final TransactionChain<?, ?> chain) {
-        LOG.info("TxchainDomDelete closed successfully, chain {}", chain);
+        LOG.debug("TxchainDomDelete closed successfully, chain {}", chain);
     }
 }