public class StringBufferFactoryConstants
extends java.lang.Object
StringBufferFactoryConstants specifies the size of the various StringBuffer buckets for
the StringBufferFactory. Use this to change the profile of sizes of StringBuffers that the system
manages.
Note that it is important that the size specified be an ODD NUMBER.
We use the 'plus 1' to detect if StringBuffers' capacity was expanded during use.
Since StringBuffers capacity is doubled when expanded it will never be ODD again.
Tune the PER_CAPACITY_POOL_SIZE and PER_CAPACITY_POOL_LIMIT to match up with your expected
thread concurrency (simultaneous requests for StringBuffers) and desired memory footprint.