Allow filtering transaction traces with a minimum
[controller.git] / opendaylight / md-sal / mdsal-trace / api / src / main / java / org / opendaylight / controller / md / sal / trace / api / TracingDOMDataBroker.java
index 3b62189bd9cdc6d3543c823e1425f444f3660f43..88e2261cae2ede3b8a31cf05cd07f387e99577d1 100644 (file)
@@ -18,8 +18,9 @@ public interface TracingDOMDataBroker extends DOMDataBroker {
     /**
      * Prints a human-readable "report" of all opened but not closed transactions,
      * including transactions chains and transactions opened by them, onto the printStream.
+     * @param minOpenTransactions minimum open number of transactions (leaks with fewer are not printed)
      * @return true if there were any open transactions, false if none
      */
-    boolean printOpenTransactions(PrintStream printStream);
+    boolean printOpenTransactions(PrintStream printStream, int minOpenTransactions);
 
 }