acquire_buffer


Description:

public virtual FlowReturn acquire_buffer (out Buffer buffer, BufferPoolAcquireParams? @params)

Acquire a buffer from this.

buffer should point to a memory location that can hold a pointer to the new buffer.

params can be null or contain optional parameters to influence the allocation.

Parameters:

this

a BufferPool

buffer

a location for a Buffer

params

parameters.

Returns:

a FlowReturn such as FLUSHING when the pool is inactive.