|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.pool.ResourcePool
oracle.jbo.server.QueryCollectionPool
public class QueryCollectionPool
This class maintains strong references to QueryCollection's in shared AM.
Field Summary |
---|
Fields inherited from class oracle.jbo.pool.ResourcePool |
---|
MAX_WAIT_TIME, mLock, mLogger, WAIT_TIME_INCREMENT |
Method Summary | |
---|---|
protected ResourcePoolLogger |
createPoolLogger() |
protected int |
getMaxAvailableSize() Return the maximum number of available instances that should exist in the pool after pool garbage collection. |
protected int |
getMaxInactiveAge() Return the duration in milliseconds that a resource may remain available before it is considered inactive. |
protected int |
getMinAvailableSize() Return the minimum number of available instances that should exist in the pool after pool garbage collection. |
protected java.lang.Object |
getResourcePoolKey() |
protected int |
getTimeToLive() Return the duration in milliseconds that a resource may remain in the pool. |
java.lang.Object |
instantiateResource(java.util.Properties properties) Instantiate a new pooled resource. |
java.lang.Object |
removeResource(java.lang.Object resource) Remove a resource from the pool. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object removeResource(java.lang.Object resource)
ResourcePool
removeResource
in class ResourcePool
public java.lang.Object instantiateResource(java.util.Properties properties)
ResourcePool
ResourcePool.useResource(Properties)
if it is necessary to create a new pooled resource. Applications should implement this method to return a new instance of a pooled resource.instantiateResource
in class ResourcePool
protected ResourcePoolLogger createPoolLogger()
createPoolLogger
in class ResourcePool
protected java.lang.Object getResourcePoolKey()
getResourcePoolKey
in class ResourcePool
protected int getMaxInactiveAge()
ResourcePool
getMaxInactiveAge
in class ResourcePool
ResourcePool.getMinAvailableSize()
protected int getMinAvailableSize()
ResourcePool
An available resource is defined as inactive if it has not been used for a duration longer than the pool's maximum inactive age.
getMinAvailableSize
in class ResourcePool
ResourcePool.getMaxInactiveAge()
protected int getMaxAvailableSize()
ResourcePool
getMaxAvailableSize
in class ResourcePool
protected int getTimeToLive()
ResourcePool
getTimeToLive
in class ResourcePool
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |