public final void setMaxCumulationBufferComponents(int maxCumulationBufferComponents) {
        if (maxCumulationBufferComponents < 2) {
            throw new IllegalArgumentException(
                    "maxCumulationBufferComponents: " + maxCumulationBufferComponents +
                    " (expected: >= 2)");
        }

        if (ctx == null) {
            this.maxCumulationBufferComponents = maxCumulationBufferComponents;
        } else {
            throw new IllegalStateException(
                    "decoder properties cannot be changed once the decoder is added to a pipeline.");
        }
    }
public final void setMaxCumulationBufferComponents ( int maxCumulationBufferComponents ) { if ( maxCumulationBufferComponents < 2 ) { throw new IllegalArgumentException ( "maxCumulationBufferComponents: " + maxCumulationBufferComponents + " (expected: >= 2)" ) ; } if ( ctx == null ) { this . maxCumulationBufferComponents = maxCumulationBufferComponents ; } else { throw new IllegalStateException ( "decoder properties cannot be changed once the decoder is added to a pipeline." ) ; } }
Sets the maximum number of components in the cumulation buffer.  If the number of
the components in the cumulation buffer exceeds this value, the components of the
cumulation buffer are consolidated into a single component, involving memory copies.
The default value of this property is {@value #DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS}
and its minimum allowed value is {@code 2}.