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