|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.prt.util.AbstractPool
com.sapportals.portal.prt.util.StringBufferPool
public class StringBufferPool
StringBufferPool.java Created: Wed Jun 27 10:52:51 2001
| Field Summary | |
|---|---|
protected static String |
DEFAULT_POOL_NAME
|
protected static StringBufferPool |
m_corePoolFactory
|
protected static HashMap |
mm_namedPools
|
protected String |
mm_poolName
|
protected static int |
STRINGBUFFER_INITIALCAPACITY
|
protected static int |
STRINGBUFFER_INITIALNBINSTANCES
|
protected static int |
STRINGBUFFER_MAX_POOLSIZE
|
| Fields inherited from class com.sapportals.portal.prt.util.AbstractPool |
|---|
mm_maxPoolSize, mm_unlocked |
| Constructor Summary | |
|---|---|
protected |
StringBufferPool(int initialCapacity,
int initialNbInstances,
int maxSize)
|
| Method Summary | |
|---|---|
static StringBufferPool |
createInstance(String poolName,
int intialCapacity)
Creates a pool and bind to the name specified by the poolName argument. |
static StringBufferPool |
createInstance(String poolName,
int intialCapacity,
int initialNbInstances)
Creates a pool and bind to the name specified by the poolName argument. |
static StringBufferPool |
createInstance(String poolName,
int intialCapacity,
int initialNbInstances,
int maxPoolSize)
Creates a pool and bind to the name specified by the poolName argument. |
protected StringBufferPool |
createInstanceInternal(String poolName,
int intialCapacity)
Creates a pool and bind to the name specified by the poolName argument. |
protected StringBufferPool |
createInstanceInternal(String poolName,
int intialCapacity,
int initialNbInstances)
Creates a pool and bind to the name specified by the poolName argument. |
protected StringBufferPool |
createInstanceInternal(String poolName,
int intialCapacity,
int initialNbInstances,
int maxPoolSize)
Creates a pool and bind to the name specified by the poolName argument. |
protected Object |
createPoolObject()
Factory method to create pool objects |
static void |
deleteInstance(String poolName)
|
protected static void |
ensureInitialized()
|
protected void |
expirePoolObject(Object o)
Callback when object are not managed anymore by the pool. |
RecyclableStringBuffer |
get(int size)
Returns the |
static StringBufferPool |
getInstance()
Gets the StringBufferPool instance. |
static StringBufferPool |
getInstance(String poolName)
Gets a StringBufferPool specified by the poolName argument. |
protected StringBufferPool |
getInstanceInternal()
Gets the StringBufferPool instance. |
protected StringBufferPool |
getInstanceInternal(String poolName)
Gets a StringBufferPool specified by the poolName argument. |
void |
release(RecyclableStringBuffer rStrBuf)
|
protected boolean |
validatePoolObject(Object o)
Method called to validate an object that has been put back in the pool |
| Methods inherited from class com.sapportals.portal.prt.util.AbstractPool |
|---|
getPoolObject, releasePoolObject, updateController |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static StringBufferPool m_corePoolFactory
protected static HashMap mm_namedPools
protected static final String DEFAULT_POOL_NAME
protected static final int STRINGBUFFER_INITIALCAPACITY
protected static final int STRINGBUFFER_INITIALNBINSTANCES
protected static final int STRINGBUFFER_MAX_POOLSIZE
protected String mm_poolName
| Constructor Detail |
|---|
protected StringBufferPool(int initialCapacity,
int initialNbInstances,
int maxSize)
| Method Detail |
|---|
public static StringBufferPool getInstance()
protected static void ensureInitialized()
public static StringBufferPool getInstance(String poolName)
public static StringBufferPool createInstance(String poolName,
int intialCapacity)
public static StringBufferPool createInstance(String poolName,
int intialCapacity,
int initialNbInstances)
public static StringBufferPool createInstance(String poolName,
int intialCapacity,
int initialNbInstances,
int maxPoolSize)
public static void deleteInstance(String poolName)
protected boolean validatePoolObject(Object o)
AbstractPool
validatePoolObject in class AbstractPoolo -
protected Object createPoolObject()
throws Exception
AbstractPool
createPoolObject in class AbstractPoolExceptionprotected void expirePoolObject(Object o)
AbstractPool
expirePoolObject in class AbstractPoolo - public RecyclableStringBuffer get(int size)
size - public void release(RecyclableStringBuffer rStrBuf)
rStrBuf -
protected StringBufferPool createInstanceInternal(String poolName,
int intialCapacity)
protected StringBufferPool createInstanceInternal(String poolName,
int intialCapacity,
int initialNbInstances)
protected StringBufferPool createInstanceInternal(String poolName,
int intialCapacity,
int initialNbInstances,
int maxPoolSize)
protected StringBufferPool getInstanceInternal()
protected StringBufferPool getInstanceInternal(String poolName)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||