Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / mdsal-trace / api / src / main / java / org / opendaylight / controller / md / sal / trace / api / TracingDOMDataBroker.java
index 34d5eb4a2ad18aabaa4f16f6cc482ffd98b9e846..88e2261cae2ede3b8a31cf05cd07f387e99577d1 100644 (file)
@@ -11,15 +11,16 @@ import java.io.PrintStream;
 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
 
 /**
- * Tagging interface so that the tracing broker service can be more explicitly imported.
+ * Interface so that the tracing broker service can be more explicitly imported.
  */
 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);
 
 }