• A
    Introduce write aggregator to DataBufferUtils · 69ccba30
    Arjen Poutsma 提交于
    As a consequence of dropping CompositeByteBuf (see prior commit),
    DataBuffers fluxes that are aggregated with Flux.reduce(BiFunction) are
    now required to be released, as the composite no longer holds a
    reference to subsequent data buffers.
    
    For this purpose, DataBufferUtils now has a writeAggregator that can be
    used with Flux.reduce, and that released the subsequent buffers
    properly.
    
    Issue: SPR-16351
    69ccba30
DataBufferUtils.java 20.5 KB