| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.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 ResourcePoolpublic java.lang.Object instantiateResource(java.util.Properties properties)
ResourcePoolResourcePool.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 ResourcePoolprotected ResourcePoolLogger createPoolLogger()
createPoolLogger in class ResourcePoolprotected java.lang.Object getResourcePoolKey()
getResourcePoolKey in class ResourcePoolprotected int getMaxInactiveAge()
ResourcePool
getMaxInactiveAge in class ResourcePoolResourcePool.getMinAvailableSize()protected int getMinAvailableSize()
ResourcePoolAn 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 ResourcePoolResourcePool.getMaxInactiveAge()protected int getMaxAvailableSize()
ResourcePool
getMaxAvailableSize in class ResourcePoolprotected int getTimeToLive()
ResourcePool
getTimeToLive in class ResourcePool
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||