@Test public void allCircuitBreakerStatesAllowTransitionToItsOwnState() { for (final CircuitBreaker.State state : CircuitBreaker.State.values()) { CircuitBreaker.StateTransition.transitionBetween(circuitBreaker.getName(), state, state); } }
@Override public String getName() { return this.name; }
CircuitBreakerStateMachine implements CircuitBreaker { @Override public String getName() { return this.name; } }
CircuitBreakerStateMachine implements CircuitBreaker { @Override public String getName() { return this.name; } private  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock, SchedulerFactory schedulerFactory,
        io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        SchedulerFactory schedulerFactory);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock, io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name);  CircuitBreakerStateMachine(String name,
        Supplier<CircuitBreakerConfig> circuitBreakerConfig);  CircuitBreakerStateMachine(String name,
        Supplier<CircuitBreakerConfig> circuitBreakerConfig,
        io.vavr.collection.Map<String, String> tags); }
CircuitBreakerStateMachine implements CircuitBreaker { @Override public String getName() { return this.name; } private  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock, SchedulerFactory schedulerFactory,
        io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        SchedulerFactory schedulerFactory);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock, io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name);  CircuitBreakerStateMachine(String name,
        Supplier<CircuitBreakerConfig> circuitBreakerConfig);  CircuitBreakerStateMachine(String name,
        Supplier<CircuitBreakerConfig> circuitBreakerConfig,
        io.vavr.collection.Map<String, String> tags); @Override long getCurrentTimestamp(); @Override TimeUnit getTimestampUnit(); @Override boolean tryAcquirePermission(); @Override void releasePermission(); @Override void acquirePermission(); @Override void onError(long duration, TimeUnit durationUnit, Throwable throwable); @Override void onSuccess(long duration, TimeUnit durationUnit); @Override State getState(); @Override String getName(); @Override CircuitBreakerConfig getCircuitBreakerConfig(); @Override Metrics getMetrics(); @Override Map<String, String> getTags(); @Override String toString(); @Override void reset(); @Override void transitionToDisabledState(); @Override void transitionToMetricsOnlyState(); @Override void transitionToForcedOpenState(); @Override void transitionToClosedState(); @Override void transitionToOpenState(); @Override void transitionToHalfOpenState(); @Override EventPublisher getEventPublisher(); }
CircuitBreakerStateMachine implements CircuitBreaker { @Override public String getName() { return this.name; } private  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock, SchedulerFactory schedulerFactory,
        io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        SchedulerFactory schedulerFactory);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        Clock clock, io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig);  CircuitBreakerStateMachine(String name, CircuitBreakerConfig circuitBreakerConfig,
        io.vavr.collection.Map<String, String> tags);  CircuitBreakerStateMachine(String name);  CircuitBreakerStateMachine(String name,
        Supplier<CircuitBreakerConfig> circuitBreakerConfig);  CircuitBreakerStateMachine(String name,
        Supplier<CircuitBreakerConfig> circuitBreakerConfig,
        io.vavr.collection.Map<String, String> tags); @Override long getCurrentTimestamp(); @Override TimeUnit getTimestampUnit(); @Override boolean tryAcquirePermission(); @Override void releasePermission(); @Override void acquirePermission(); @Override void onError(long duration, TimeUnit durationUnit, Throwable throwable); @Override void onSuccess(long duration, TimeUnit durationUnit); @Override State getState(); @Override String getName(); @Override CircuitBreakerConfig getCircuitBreakerConfig(); @Override Metrics getMetrics(); @Override Map<String, String> getTags(); @Override String toString(); @Override void reset(); @Override void transitionToDisabledState(); @Override void transitionToMetricsOnlyState(); @Override void transitionToForcedOpenState(); @Override void transitionToClosedState(); @Override void transitionToOpenState(); @Override void transitionToHalfOpenState(); @Override EventPublisher getEventPublisher();  }