Configuration constraints that determine the number of Buffer
s in a {@link BufferPool}. There is one permanent BufferPoolConfiguration
instance for each valid buffer size: 1024, 2048, 4096, 8192 and 16384. The {@link #getBufferPoolMap()} methodprovides access to these, where the map key is the buffer size.
Each BufferPoolConfiguration
specifies minimum and maximum buffer count values, and four parameters used to allocate a buffers according to available memory. Values of minimumCount
and maximumCount
are absolute bounds; if the maximumCount
is zero then no buffers of the specified buffer size will be allocated.
The memory-based parameters are used as follows:
reservedMemory
size from the maximum heap size.fraction
.minimumMemory
and maximumMemory
.minimumCount
and maximumCount
. These parameters may be set through the set
and get
methods, or by parsing a string property value using {@link #parseBufferCount(int,String,String)} or{@link #parseBufferMemory(int,String,String)}
|
|