}
}
private JMXFibersForkJoinPoolMonitor getMonitor() {
if (fjPool instanceof MonitoredForkJoinPool) {
ForkJoinPoolMonitor mon = ((MonitoredForkJoinPool) fjPool).getMonitor();
if (mon instanceof JMXFibersForkJoinPoolMonitor)
return (JMXFibersForkJoinPoolMonitor) mon;
}
return null;
}