X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=benchmark%2Fdsbenchmark%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fdsbenchmark%2Fsimpletx%2FSimpletxBaDelete.java;h=be52c401fd3f37f400830d166f282a2424cda2f5;hp=85a41244bf8198e7e0f080e085098b7e014da0b8;hb=HEAD;hpb=cfd2e240178039a439001c4d3f1ca5f26097dcdd diff --git a/benchmark/dsbenchmark/src/main/java/org/opendaylight/dsbenchmark/simpletx/SimpletxBaDelete.java b/benchmark/dsbenchmark/src/main/java/org/opendaylight/dsbenchmark/simpletx/SimpletxBaDelete.java index 85a41244bf..be52c401fd 100644 --- a/benchmark/dsbenchmark/src/main/java/org/opendaylight/dsbenchmark/simpletx/SimpletxBaDelete.java +++ b/benchmark/dsbenchmark/src/main/java/org/opendaylight/dsbenchmark/simpletx/SimpletxBaDelete.java @@ -8,10 +8,10 @@ package org.opendaylight.dsbenchmark.simpletx; import java.util.concurrent.ExecutionException; -import org.opendaylight.controller.md.sal.binding.api.DataBroker; -import org.opendaylight.controller.md.sal.binding.api.WriteTransaction; -import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType; import org.opendaylight.dsbenchmark.DatastoreAbstractWriter; +import org.opendaylight.mdsal.binding.api.DataBroker; +import org.opendaylight.mdsal.binding.api.WriteTransaction; +import org.opendaylight.mdsal.common.api.LogicalDatastoreType; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestInput; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestInput.DataStore; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.TestExec; @@ -64,7 +64,7 @@ public class SimpletxBaDelete extends DatastoreAbstractWriter { tx.commit().get(); txOk++; } catch (final InterruptedException | ExecutionException e) { - LOG.error("Transaction failed: {}", e); + LOG.error("Transaction failed", e); txError++; } tx = dataBroker.newWriteOnlyTransaction(); @@ -75,7 +75,7 @@ public class SimpletxBaDelete extends DatastoreAbstractWriter { try { tx.commit().get(); } catch (final InterruptedException | ExecutionException e) { - LOG.error("Transaction failed: {}", e); + LOG.error("Transaction failed", e); } } }