Build #31

Build: #31 was successful Changes by Simon Baslé <sbasle@vmware.com>

Code commits

reactor-pool

  • Simon Baslé <sbasle@vmware.com>

    Simon Baslé <sbasle@vmware.com> 082902b5681653485ec547681dafb66d9d6a4bc4

    Add SamplingAllocationStrategy, in new introspection util package (#113)
    This commit adds a SamplingAllocationStrategy in the newly introduced
    introspection package. It allows to sample calls to the AllocationStrategy that
    is wrapped, effectively allowing to trace a percentage of these calls.

    getPermits and returnPermits can be sampled at separate rates, and the samples
    can be inspected directly (as public final fields).

    • build.gradle (version 082902b5681653485ec547681dafb66d9d6a4bc4)
    • src/main/java/reactor/pool/introspection/SamplingAllocationStrategy.java (version 082902b5681653485ec547681dafb66d9d6a4bc4)
    • src/test/java/reactor/pool/introspection/SamplingAllocationStrategyTest.java (version 082902b5681653485ec547681dafb66d9d6a4bc4)