@Test public void testInitialState() { ShutdownMonitor shutdownMonitor = new ShutdownMonitor(); assertNull(shutdownMonitor.getShutdownState()); }
@HealthCheckRemoveFromRotation("server shutdown state") public String getShutdownState() { if (isShuttingDown.get()) { return "Server is shutting down"; } return null; }
ShutdownMonitor { @HealthCheckRemoveFromRotation("server shutdown state") public String getShutdownState() { if (isShuttingDown.get()) { return "Server is shutting down"; } return null; } }
ShutdownMonitor { @HealthCheckRemoveFromRotation("server shutdown state") public String getShutdownState() { if (isShuttingDown.get()) { return "Server is shutting down"; } return null; }  }
ShutdownMonitor { @HealthCheckRemoveFromRotation("server shutdown state") public String getShutdownState() { if (isShuttingDown.get()) { return "Server is shutting down"; } return null; }  @HealthCheckRemoveFromRotation("server shutdown state") String getShutdownState(); @StopTraffic void stopTraffic(); }
ShutdownMonitor { @HealthCheckRemoveFromRotation("server shutdown state") public String getShutdownState() { if (isShuttingDown.get()) { return "Server is shutting down"; } return null; }  @HealthCheckRemoveFromRotation("server shutdown state") String getShutdownState(); @StopTraffic void stopTraffic();  }