org.qi4j.library.sql.datasource

## Class DataSources

- java.lang.Object
- - org.qi4j.library.sql.datasource.DataSources

-     public class DataSources
      extends Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CircuitBreaker` | `newDataSourceCircuitBreaker()`
    `static CircuitBreaker` | `newDataSourceCircuitBreaker(int threshold, long timeout)`
    `static DataSource` | `wrapWithCircuitBreaker(String dataSourceIdentity, DataSource pool, CircuitBreaker circuitBreaker)`

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

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

- - ### Method Detail

    - #### newDataSourceCircuitBreaker

          public static CircuitBreaker newDataSourceCircuitBreaker()

    - #### newDataSourceCircuitBreaker

          public static CircuitBreaker newDataSourceCircuitBreaker(int threshold,
                                                   long timeout)

    - #### wrapWithCircuitBreaker

          public static DataSource wrapWithCircuitBreaker(String dataSourceIdentity,
                                          DataSource pool,
                                          CircuitBreaker circuitBreaker)