dd89e00678752ea6162a5d3b66c6e2a8ac7871fc
[controller.git] / opendaylight / md-sal / sal-common-util / src / main / java / org / opendaylight / controller / md / sal / common / util / jmx / QueuedNotificationManagerMXBean.java
1 /*
2  * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.md.sal.common.util.jmx;
10
11 import java.util.List;
12
13 import org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats;
14
15 /**
16  * MXBean interface for {@link org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager} statistic metrics.
17  *
18  * @author Thomas Pantelis
19  */
20 public interface QueuedNotificationManagerMXBean {
21
22     /**
23      * Returns a list of stat instances for each current listener notification task in progress.
24      */
25     List<ListenerNotificationQueueStats> getCurrentListenerQueueStats();
26
27     /**
28      * Returns the configured maximum listener queue size.
29      */
30     int getMaxListenerQueueSize();
31 }