/** * Current size of {@link BlockingQueue} used by the thread-pool * * @return Number */public Number getCurrentQueueSize() {
return threadPool.getQueue().size();
}
/** * Returns the current size of the queue containing regions that are * processed. * * @return The current size of the regions queue. */publicint getCompactionQueueSize() {
return longCompactions.getQueue().size() + shortCompactions.getQueue().size();
}
/** * Returns the current number of ChannelMessage objects waiting to be processed by * the channel. * * @return the current number of elements in the processing queue. */publicint getQueueSize() {
return executor.getQueue().size();
}
}