2 * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.datastore.jmx.mbeans;
10 import akka.pattern.AskTimeoutException;
13 * JMX bean for general datastore info.
15 * @author Thomas Pantelis
17 public interface DatastoreInfoMXBean {
19 double getTransactionCreationRateLimit();
22 * Return the number of {@link AskTimeoutException}s encountered by the datastore.
24 * @return Number of exceptions encountered
26 long getAskTimeoutExceptionCount();
29 * Reset the number of {@link AskTimeoutException}s encountered by the datastore.
31 void resetAskTimeoutExceptionCount();