org.qi4j.library.circuitbreaker.service

## Class AbstractEnabledCircuitBreakerAvailability.Mixin

- java.lang.Object
- - org.qi4j.library.circuitbreaker.service.AbstractEnabledCircuitBreakerAvailability.Mixin

- All Implemented Interfaces:
    Availability
  Enclosing interface:
    AbstractEnabledCircuitBreakerAvailability

      public static class AbstractEnabledCircuitBreakerAvailability.Mixin
      extends Object
      implements Availability

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractEnabledCircuitBreakerAvailability.Mixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isAvailable()` Implementations should return true if the underlying service is currently available for use.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractEnabledCircuitBreakerAvailability.Mixin

          public AbstractEnabledCircuitBreakerAvailability.Mixin()

  - ### Method Detail

    - #### isAvailable

          public boolean isAvailable()

      Description copied from interface: `Availability`
      Implementations should return true if the underlying service is currently available for use. Reasons why a service might not be available is either if it has been configured not to be (see the Enabled interface), or if an underlying resource is currently unavailable.
      Specified by:
        `isAvailable` in interface `Availability`
      Returns:
        true if the service is available, false otherwise.