Refactor odl-mdsal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / md / sal / dom / broker / impl / jmx / CommitStatsMXBean.java
diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/broker/impl/jmx/CommitStatsMXBean.java b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/broker/impl/jmx/CommitStatsMXBean.java
deleted file mode 100644 (file)
index ec4461b..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2014 Brocade Communications Systems, 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.dom.broker.impl.jmx;
-
-/**
- * MXBean interface for retrieving write Tx commit statistics.
- *
- * @author Thomas Pantelis
- */
-public interface CommitStatsMXBean {
-
-    /**
-     * Returns the total number of commits that have occurred.
-     *
-     * @return Returns the total number of commits that have occurred
-     *
-     */
-    long getTotalCommits();
-
-    /**
-     * Returns a string representing the time duration of the longest commit, in the appropriate
-     * scaled units, along with the date/time that it occurred.
-     *
-     * @return string
-     */
-    String getLongestCommitTime();
-
-    /**
-     * Returns a string representing the time duration of the shortest commit, in the appropriate
-     * scaled units, along with the date/time that it occurred.
-     *
-     * @return string
-     */
-    String getShortestCommitTime();
-
-    /**
-     * Returns a string representing average commit time duration, in the appropriate
-     * scaled units.
-     *
-     * @return string
-     */
-    String getAverageCommitTime();
-
-    /**
-     * Clears the current stats to their defaults.
-     */
-    void clearStats();
-}