throw new RuntimeException(e);
}
for (ObjectName objectName : Iterables.concat(request, internal))
{
String poolName = objectName.getKeyProperty("type");
IExecutorMBean threadPoolProxy = JMX.newMBeanProxy(server, objectName, IExecutorMBean.class);
logger.info(String.format("%-25s%10s%10s",
poolName, threadPoolProxy.getActiveCount(), threadPoolProxy.getPendingTasks()));
}
// one offs
logger.info(String.format("%-25s%10s%10s",
"CompactionManager", "n/a", CompactionManager.instance.getPendingTasks()));
int pendingCommands = 0;