Methods Summary |
---|
public void | addResource(ResourceSpec spec, ResourceHandle resource)
|
public void | cancelResizerTask()
|
public void | disableMonitoring()
|
public void | emptyFreeConnectionsInPool()
|
public void | emptyPool()
|
public int | getMaxPoolSize()Gets the max-pool-size attribute of this pool. Envisaged to be
used by the Self management framework to query the pool size
attribute for tweaking it using the setMaxPoolSize method
|
public java.lang.String | getPoolName()
|
public ResourceHandle | getResource(ResourceSpec spec, ResourceAllocator alloc, javax.transaction.Transaction tran)
|
public int | getSteadyPoolSize()Gets the steady-pool-size attribute of this pool. Envisaged to be
used by the Self management framework to query the pool size
attribute for tweaking it using the setSteadyPoolSize method
|
public boolean | isMonitoringEnabled()
|
public void | reconfigPoolProperties(com.sun.enterprise.connectors.ConnectorConnectionPool ccp)
|
public void | resizePool(boolean forced)
|
public void | resourceClosed(ResourceHandle resource)
|
public void | resourceEnlisted(javax.transaction.Transaction tran, ResourceHandle resource)
|
public void | resourceErrorOccurred(ResourceHandle resource)
|
public void | setMaxPoolSize(int size)Sets the max-pool-size value for this pool. This attribute is
expected to be set by the self-management framework for an optimum
max-pool-size. The corresponding accessor gets this value.
|
public void | setMonitoringEnabledHigh()
|
public void | setMonitoringEnabledLow()
|
public void | setSelfManaged(boolean selfManaged)Sets/Resets the flag indicating if this pool is self managed.
This method would be typically called by the self management
framework to indicate to the world (and this pool) that this
pool is self managed. Its very important that the self mgmt
framework properly sets this flag to control the dynamic reconfig
behavior of this pool. If this flag is set to true, all dynamic
reconfigs affecting the max/steady pool size of this pool will
be ignored.
|
public void | setSteadyPoolSize(int size)Sets the steady-pool-size value for this pool. This attribute is
expected to be set by the self-management framework for an optimum
steady-pool-size. The corresponding accessor gets this value.
|
public void | switchOnMatching()
|
public void | transactionCompleted(javax.transaction.Transaction tran, int status)
|