2 * Copyright (c) 2014 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
9 package org.opendaylight.controller.md.sal.common.util.jmx;
12 * MXBean interface for thread executor statistic metrics.
14 * @author Thomas Pantelis
16 public interface ThreadExecutorStatsMXBean {
19 * Returns the current thread pool size.
21 long getCurrentThreadPoolSize();
24 * Returns the largest thread pool size.
26 long getLargestThreadPoolSize();
29 * Returns the maximum thread pool size.
31 long getMaxThreadPoolSize();
34 * Returns the current queue size.
36 long getCurrentQueueSize();
39 * Returns the largest queue size, if available.
41 Long getLargestQueueSize();
44 * Returns the maximum queue size.
46 long getMaxQueueSize();
49 * Returns the active thread count.
51 long getActiveThreadCount();
54 * Returns the completed task count.
56 long getCompletedTaskCount();
59 * Returns the total task count.
61 long getTotalTaskCount();
64 * Returns the rejected task count, if available.
66 Long getRejectedTaskCount();