@Deprecated
    public AggregationOptionsBuilder alloc(ByteBufAllocator alloc) {
        requireNonNull(alloc, "alloc");
        if (cacheResult) {
            throw new IllegalStateException("Can't cache pooled objects");
        }
        this.alloc = alloc;
        return this;
    }
(Advanced users only) Sets the {@link ByteBufAllocator} that can be used to create a
{@link PooledObjects} without making a copy. If unspecified, a {@code byte[]}-based {@link HttpData}
is created.

<p>{@link PooledObjects} cannot be cached since they have their own life cycle.
Therefore, this method and {@link #cacheResult(boolean)} are mutually exclusive.
If {@link #cacheResult(boolean)} is enabled and this option is set, an {@link IllegalStateException} will
be raised.

@deprecated Use {@link #usePooledObjects(ByteBufAllocator, boolean)}.
core/src/main/java/com/linecorp/armeria/common/AggregationOptionsBuilder.java