/** * Waits until the server is {@code running}. In domain, only waits for the host controller, * not for individual servers. */ public final void waitUntilRunning() { try { ops.waitUntilRunning(); } catch (InterruptedException e) { throw sneakyThrow(e); } catch (IOException e) { throw sneakyThrow(e); } catch (TimeoutException e) { throw sneakyThrow(e); } }
/** * Returns whether reload is required. In domain, returns {@code true} if at least one of the servers * requires reload. */ public final boolean isReloadRequired() { try { return ops.isReloadRequired(); } catch (IOException e) { throw sneakyThrow(e); } }
/** * Returns whether restart is required. In domain, returns {@code true} if at least one of the servers * requires restart. */ public final boolean isRestartRequired() { try { return ops.isRestartRequired(); } catch (IOException e) { throw sneakyThrow(e); } }