Java Code Examples for io.github.resilience4j.circuitbreaker.CircuitBreaker#StateTransition
The following examples show how to use
io.github.resilience4j.circuitbreaker.CircuitBreaker#StateTransition .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CircuitBreakerEventDTO.java From resilience4j with Apache License 2.0 | 5 votes |
CircuitBreakerEventDTO(String circuitBreakerName, CircuitBreakerEvent.Type type, String creationTime, @Nullable String errorMessage, @Nullable Long durationInMs, @Nullable CircuitBreaker.StateTransition stateTransition) { this.circuitBreakerName = circuitBreakerName; this.type = type; this.creationTime = creationTime; this.errorMessage = errorMessage; this.durationInMs = durationInMs; this.stateTransition = stateTransition; }
Example 2
Source File: CircuitBreakerOnStateTransitionEvent.java From resilience4j with Apache License 2.0 | 4 votes |
public CircuitBreakerOnStateTransitionEvent(String circuitBreakerName, CircuitBreaker.StateTransition stateTransition) { super(circuitBreakerName); this.stateTransition = stateTransition; }
Example 3
Source File: CircuitBreakerOnStateTransitionEvent.java From resilience4j with Apache License 2.0 | 4 votes |
public CircuitBreaker.StateTransition getStateTransition() { return stateTransition; }
Example 4
Source File: CircuitBreakerEventDTO.java From resilience4j with Apache License 2.0 | 4 votes |
@Nullable public CircuitBreaker.StateTransition getStateTransition() { return stateTransition; }
Example 5
Source File: CircuitBreakerEventDTO.java From resilience4j with Apache License 2.0 | 4 votes |
public void setStateTransition(CircuitBreaker.StateTransition stateTransition) { this.stateTransition = stateTransition; }
Example 6
Source File: CircuitBreakerEventDTOBuilder.java From resilience4j with Apache License 2.0 | 4 votes |
CircuitBreakerEventDTOBuilder setStateTransition( CircuitBreaker.StateTransition stateTransition) { this.stateTransition = stateTransition; return this; }