@Override public synchronized void monitorHealth() throws IOException { checkAccess("monitorHealth"); if (isRMActive() && !rm.areActiveServicesRunning()) { throw new HealthCheckFailedException("Active ResourceManager services are not running!"); } }