Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.jbo.server
Class QCPoolProperties

java.lang.Object
  extended by oracle.jbo.server.QCPoolProperties

public class QCPoolProperties
extends java.lang.Object

Simple structure for managing shared QC pool properties.


Method Summary
 int getMaxInactiveAge()
          Returns the value 'maximum inactive age' set for query collections in the pool.
 double getMaxWeight()
          Returns the maximum weight allowed in the query collection pool.
 void setMaxInactiveAge(int maxInactiveAge)
          Sets the maximum amount of time (ms) that a query collection may remain inactive before it is removed from the pool.
 void setMaxWeight(double maxWeight)
          Sets the maximum weight allowed in the query collection pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setMaxWeight

public void setMaxWeight(double maxWeight)
Sets the maximum weight allowed in the query collection pool. The default value is -1, no limit.


getMaxWeight

public double getMaxWeight()
Returns the maximum weight allowed in the query collection pool.


setMaxInactiveAge

public void setMaxInactiveAge(int maxInactiveAge)
Sets the maximum amount of time (ms) that a query collection may remain inactive before it is removed from the pool. The default value is obtained from either the AM configuration or system environment.


getMaxInactiveAge

public int getMaxInactiveAge()
Returns the value 'maximum inactive age' set for query collections in the pool.


Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

Copyright © 1997, 2011, Oracle. All rights reserved.