@Test public void testInitiallyClosed() { LOGGER.info("Test: expect initial status is CLOSED"); assertThat(this.circuitBreaker.isClosed()).withFailMessage("Initial status should be CLOSED").isTrue(); }
public boolean isClosed() { final Status currentStatus = this.updateAndGetStatus(); return currentStatus != Status.OPEN; }
CircuitBreaker { public boolean isClosed() { final Status currentStatus = this.updateAndGetStatus(); return currentStatus != Status.OPEN; } }
CircuitBreaker { public boolean isClosed() { final Status currentStatus = this.updateAndGetStatus(); return currentStatus != Status.OPEN; } private  CircuitBreaker(final Builder builder); }
CircuitBreaker { public boolean isClosed() { final Status currentStatus = this.updateAndGetStatus(); return currentStatus != Status.OPEN; } private  CircuitBreaker(final Builder builder); void openCircuit(); void closeCircuit(); boolean isClosed(); void markSuccess(); void markFailure(); }
CircuitBreaker { public boolean isClosed() { final Status currentStatus = this.updateAndGetStatus(); return currentStatus != Status.OPEN; } private  CircuitBreaker(final Builder builder); void openCircuit(); void closeCircuit(); boolean isClosed(); void markSuccess(); void markFailure();  }