IBM DB2 Manual page 365

Table of Contents

Advertisement

public abstract int createdObjectCount()
Retrieves the number of objects that the IBM Data Server Driver for JDBC and
SQLJ created since the pool was created.
getMonitorVersion
Format:
public int getMonitorVersion()
Retrieves the version of the DB2PoolMonitor class that is shipped with the IBM
Data Server Driver for JDBC and SQLJ.
getPoolMonitor
Format:
public static DB2PoolMonitor getPoolMonitor(int monitorType)
Retrieves an instance of the DB2PoolMonitor class.
Parameter descriptions:
monitorType
The monitor type. This value must be
DB2PoolMonitor.TRANSPORT_OBJECT.
heavyWeightReusedObjectCount
Format:
public abstract int heavyWeightReusedObjectCount()
Retrieves the number of objects that were reused from the pool.
lightWeightReusedObjectCount
Format:
public abstract int lightWeightReusedObjectCount()
Retrieves the number of objects that were reused but were not in the pool. This
can happen if a Connection object releases a transport object at a transaction
boundary. If the Connection object needs a transport object later, and the
original transport object has not been used by any other Connection object, the
Connection object can use that transport object.
longestBlockedRequestTime
Format:
public abstract long longestBlockedRequestTime()
Retrieves the longest amount of time that a request was blocked, in
milliseconds.
numberOfConnectionReleaseRefused
Format:
public abstract int numberOfConnectionReleaseRefused()
Retrieves the number of times that the release of a connection was refused.
numberOfRequestsBlocked
Format:
public abstract int numberOfRequestsBlocked()
Retrieves the number of requests that the IBM Data Server Driver for JDBC
and SQLJ made to the pool that the pool blocked because the pool reached its
Chapter 7. JDBC and SQLJ reference information
349

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents