@Override public void handleTimeout(AmbariHostsCheckerContext t) { LOGGER.error( "Operation timed out. Failed to find all '{}' Ambari hosts. Stack: '{}'", t.getHostCount(), t.getStack().getId()); }
@Override public String successMessage(AmbariHostsCheckerContext t) { return String.format( "Ambari client found all %s hosts for stack '%s'", t.getHostCount(), t.getStack().getId()); }