| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| 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.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.jbo.pool.ResourcePool | 
|---|
ResourcePool.AvailableListSelector | 
| Field Summary | 
|---|
| Fields inherited from class oracle.jbo.pool.ResourcePool | 
|---|
MAX_WAIT_TIME, MAX_WEIGHT_DEFAULT, mLock, mLogger, WAIT_TIME_INCREMENT | 
| Method Summary | |
|---|---|
protected  ResourcePoolLogger | 
createPoolLogger() | 
 void | 
dumpPoolStatistics(java.io.PrintWriter pw)Dump pool statistics to the specified printwriter.  | 
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  double | 
getMaxWeight()Returns the maximum weight allowed in the query collection pool.  | 
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.  | 
protected  double | 
getWeight(ResourceInfo resourceInfo)Calculates the weight of the resource.  | 
 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)
ResourcePoolremoveResource 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()
ResourcePoolgetMaxInactiveAge 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()
ResourcePoolgetMaxAvailableSize in class ResourcePoolprotected int getTimeToLive()
ResourcePoolgetTimeToLive in class ResourcePoolprotected double getMaxWeight()
getMaxWeight in class ResourcePoolgetMaxWeight()protected double getWeight(ResourceInfo resourceInfo)
getWeight in class ResourcePoolresourceInfo - the resource to evaluategetWeight(ResourceInfo)public void dumpPoolStatistics(java.io.PrintWriter pw)
ResourcePooldumpPoolStatistics in class ResourcePoolResourcePool.createPoolLogger()
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||