com.pega.pegarules.pub
Class StringBufferFactoryConstants
java.lang.Object
com.pega.pegarules.pub.StringBufferFactoryConstants
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.
- Version:
- $Revision: 4737 $ $Date: 2010-05-03 14:19:25 -0400 (Mon, 03 May 2010) $
- Author:
- John Clinton
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
POOL_CAPACITIES
public static final int[] POOL_CAPACITIES
PER_CAPACITY_POOL_SIZE
public static final int[] PER_CAPACITY_POOL_SIZE
PER_CAPACITY_POOL_LIMIT
public static final int[] PER_CAPACITY_POOL_LIMIT
DEFAULT_ACQUIRE_SIZE
public static final int DEFAULT_ACQUIRE_SIZE
- See Also:
- Constant Field Values
PRUNE_WAIT_TIME_MILLIS
public static final int PRUNE_WAIT_TIME_MILLIS
- See Also:
- Constant Field Values
StringBufferFactoryConstants
public StringBufferFactoryConstants()
Copyright © 2012 Pegasystems Inc. All Rights Reserved.