Configures config with the given parameters.
| config | a BufferPool configuration | 
| caps | caps for the buffers | 
| size | the size of each buffer, not including prefix and padding | 
| min_buffers | the minimum amount of buffers to allocate. | 
| max_buffers | the maximum amount of buffers to allocate or 0 for unlimited. |