|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.pool.ResourcePoolManager
public class ResourcePoolManager
Manages a collection of resource pools. The ResourcePoolManager is also responsible for maintaining a pool monitor daemon. The monitor daemon is responsible for waking up the managed ResourcePools routinely.
ResourcePool.wakeup()
Field Summary | |
---|---|
protected java.lang.Integer |
mLock
|
Constructor Summary | |
---|---|
ResourcePoolManager()
|
Method Summary | |
---|---|
void |
addResourcePool(java.lang.Object poolKey,
java.lang.Object pool)
Adds the pool to the pool manager collection. |
void |
classLoaderShuttingDown()
|
protected void |
createPoolMonitor()
|
void |
destroy()
Destroys the pool manager. |
static ResourcePoolManager |
getManagerInstance()
Retrieves the singleton instance of the Pool Manager |
protected int |
getMonitorSleepInterval()
Returns the interval in milliseconds for which the monitor daemon should sleep between wakeup requests. |
static int |
getProperty(java.lang.String name,
java.util.Hashtable environment,
int defaultValue)
|
java.lang.Object |
getResourcePool(java.lang.Object poolKey)
Returns the ResourcePool for the specified key. |
java.util.Enumeration |
getResourcePoolKeys()
Returns an enumeration of resource pool keys. |
java.util.Enumeration |
getResourcePools()
Returns an enumeration of resource pools. |
java.util.Timer |
getResourcePoolTimer()
Retrieves the singleton instance of the Timer thread |
protected void |
removePoolMonitor()
|
void |
removeResourcePool(java.lang.Object poolKey)
Removes the specified pool from the pool manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.Integer mLock
Constructor Detail |
---|
public ResourcePoolManager()
Method Detail |
---|
public static ResourcePoolManager getManagerInstance()
public java.util.Timer getResourcePoolTimer()
public java.lang.Object getResourcePool(java.lang.Object poolKey)
public void addResourcePool(java.lang.Object poolKey, java.lang.Object pool)
poolKey
- a unique identifier representing the added pool.public void removeResourcePool(java.lang.Object poolKey)
poolKey
- the identifier that was used to add the pool to pool
managerpublic java.util.Enumeration getResourcePools()
public java.util.Enumeration getResourcePoolKeys()
public void destroy()
protected void createPoolMonitor()
public void classLoaderShuttingDown()
protected void removePoolMonitor()
protected int getMonitorSleepInterval()
public static final int getProperty(java.lang.String name, java.util.Hashtable environment, int defaultValue)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |