/* * Copyright (c) 2016 Red Hat, 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, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.md.sal.trace.api; 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. */ 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. * @return true if there were any open transactions, false if none */ boolean printOpenTransactions(PrintStream printStream); }