java.lang.Object | |
↳ | com.netflix.astyanax.shallows.EmptyConnectionPoolMonitor |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a mapping of all hosts and their statistics
| |||||||||||
Incremented for each connection borrowed
| |||||||||||
Closed a connection
| |||||||||||
Attempt to create a connection failed
| |||||||||||
Created a connection successfully
| |||||||||||
Incremented for each connection returned.
| |||||||||||
An operation failed by the connection pool will attempt to fail over to
another host/connection.
| |||||||||||
There were no active hosts in the pool to borrow from.
| |||||||||||
Errors trying to execute an operation
| |||||||||||
Succeeded in executing an operation
| |||||||||||
Timeout waiting for a response from the cluster
| |||||||||||
Timeout trying to get a connection from the pool
| |||||||||||
A host was added and given the associated pool.
| |||||||||||
A host was identified as downed.
| |||||||||||
A host was reactivated after being marked down
| |||||||||||
A host was removed from the pool.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.netflix.astyanax.connectionpool.ConnectionPoolMonitor
|
Incremented for each connection borrowed
host | Host from which the connection was borrowed |
---|---|
delay | Time spent in the connection pool borrowing the connection |
Closed a connection
e | TODO: Make the host available to this |
---|
Attempt to create a connection failed
Incremented for each connection returned.
host | Host to which connection is returned |
---|
An operation failed by the connection pool will attempt to fail over to another host/connection.
There were no active hosts in the pool to borrow from.
Timeout waiting for a response from the cluster
Timeout trying to get a connection from the pool
A host was added and given the associated pool. The pool is immutable and can be used to get info about the number of open connections
A host was identified as downed.
reason | Exception that caused the host to be identified as down |
---|
A host was reactivated after being marked down
A host was removed from the pool. This is usually called when a downed host is removed from the ring.