public class UniversalConnectionPoolManagerHelper extends Object
| Constructor | Description |
|---|---|
UniversalConnectionPoolManagerHelper(UniversalConnectionPool connectionPool) |
Constructor for UniversalConnectionPoolManagerHelper.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getManagerPoolID() |
Gets the uniquePoolID for a provided poolName from the
UniversalConnectionPoolManager.
|
oracle.dms.instrument.StateIntf |
getStateMetric(UniversalConnectionPoolManagerBase.UCPMetric ucpMetric) |
Gets the StateMetric for requested pool name.
|
void |
setManagerPoolID(String poolName) |
Changes the pool mapping for the provided pool in
UniversalConnectionPoolManager Object.
|
void |
setMetricConsole(oracle.dms.console.DMSConsole metricConsole) |
Sets the MetricConsole for UCP metrics collection.
|
void |
setMetricParentNoun(oracle.dms.instrument.NounIntf metricParentNoun) |
Sets the Parent Noun for the provided pool to gather UCP metrics.
|
public UniversalConnectionPoolManagerHelper(UniversalConnectionPool connectionPool) throws UniversalConnectionPoolException
UniversalConnectionPool - The connection pool. Cannot be null.UniversalConnectionPoolExceptionpublic void setManagerPoolID(String poolName) throws UniversalConnectionPoolException
String - poolName to be replaced in the mapped pool IDs storage.UniversalConnectionPoolException - If an error occurs while changing the map ID in the
UniversalConnectionPoolManager.public String getManagerPoolID() throws UniversalConnectionPoolException
UniversalConnectionPoolException - If an error occurs while getting mapped pool ID from
UniversalConnectionPoolManager.public void setMetricConsole(oracle.dms.console.DMSConsole metricConsole)
DMSConsole - Console to be set for UCP metrics collection.public void setMetricParentNoun(oracle.dms.instrument.NounIntf metricParentNoun)
String - poolName for the Metric parent noun.NounIntf - Metric parent noun to assign to a connection pool.public oracle.dms.instrument.StateIntf getStateMetric(UniversalConnectionPoolManagerBase.UCPMetric ucpMetric)
Copyright © 2008, 2017, Oracle. All rights reserved.