CircuitBreakerReducerEvent

Represents the events that can be dispatched to the CircuitBreaker state machine reducer.

Parameters

isTransitionEvent

Indicates whether the event is a possible state transition event.

See also

Constructors

Link copied to clipboard
private constructor(isTransitionEvent: Boolean)

Entries

Link copied to clipboard

Represents an event where the protected operation execution was successful.

Link copied to clipboard

Represents an event where the protected operation execution failed.

Link copied to clipboard

Represents an event triggered to forcefully update the circuit breaker state in order to ensure that is up-to-date.

Link copied to clipboard

Represents an event where the circuit breaker is asked to transition to the Closed state.

Link copied to clipboard

Represents an event where the circuit breaker is asked to transition to the Open state.

Link copied to clipboard

Represents an event where the circuit breaker is asked to transition to the HalfOpen state.

Link copied to clipboard

Represents an event where the circuit breaker is asked to transition to the Closed state and clear the sliding window.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.