public interface PoolLifeCycleListener
| Modifier and Type | Method and Description |
|---|---|
void |
connectionAcquired(long resourceHandleId)
indicates that a connection is acquired by application
|
void |
connectionCreated()
indicates that a new connection is created
|
void |
connectionDestroyed(long resourceHandleId)
indicates that a connection is destroyed
|
void |
connectionMatched()
indicates that a connection under test matches the current request
|
void |
connectionNotMatched()
indicates that a connection under test does not match the current request
|
void |
connectionReleased(long resourceHandleId)
indicates that a connection is released
|
void |
connectionRequestDequeued()
indicates that the wait queue length has decreased.
|
void |
connectionRequestQueued()
indicates that the wait queue length has increased.
|
void |
connectionRequestServed(long timeTakenInMillis)
indicates that a connection request is server in the time
|
void |
connectionsFreed(int count)
indicates the number of connections freed to pool
|
void |
connectionTimedOut()
indicates that a connection is timed-out
|
void |
connectionUsed(long resourceHandleId)
indicates that a connection is being used
|
void |
connectionValidationFailed(int count)
indicates that a number of connections have failed validation
|
void |
decrementConnectionUsed(long resourceHandleId)
indicates that connection count that is used has to be decremented.
|
void |
decrementNumConnFree()
indicates that free connections count in the pool has to be decremented.
|
void |
foundPotentialConnectionLeak()
indicates that a potential connection leak happened
|
void |
incrementNumConnFree(boolean beingDestroyed,
int steadyPoolSize)
indicates that a connection is freed and the count is to be incremented.
|
void |
toString(StringBuffer stackTrace)
Print stack trace in server.log
|
void toString(StringBuffer stackTrace)
stackTrace - void connectionAcquired(long resourceHandleId)
void connectionRequestServed(long timeTakenInMillis)
timeTakenInMillis - time taken to serve a connectionvoid connectionTimedOut()
void connectionNotMatched()
void connectionMatched()
void connectionUsed(long resourceHandleId)
void connectionDestroyed(long resourceHandleId)
void connectionReleased(long resourceHandleId)
void connectionCreated()
void foundPotentialConnectionLeak()
void connectionValidationFailed(int count)
count - number of connectionsvoid connectionsFreed(int count)
count - number of connectionsvoid decrementConnectionUsed(long resourceHandleId)
void decrementNumConnFree()
void incrementNumConnFree(boolean beingDestroyed,
int steadyPoolSize)
beingDestroyed - in case of an error.steadyPoolSize - void connectionRequestQueued()
void connectionRequestDequeued()
Copyright © 2017. All rights reserved.