Bump odlparent to 8.1.2
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / concurrent / 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 package org.opendaylight.yangtools.util.concurrent;
9
10 import java.util.List;
11 import javax.management.MXBean;
12
13 /**
14  * MXBean interface for {@link QueuedNotificationManager} statistic metrics.
15  *
16  * @author Thomas Pantelis
17  */
18 @MXBean
19 public interface QueuedNotificationManagerMXBean {
20     /**
21      * Returns a list of stat instances for each current listener notification task in progress.
22      */
23     List<ListenerNotificationQueueStats> getCurrentListenerQueueStats();
24
25     /**
26      * Returns the configured maximum listener queue size.
27      */
28     int getMaxListenerQueueSize();
29 }