ConnectionPoolManager
ConnectionPoolErrorHandler.CountingErrorHandler
, ConnectionPoolErrorHandler.SimpleConnectionPoolErrorHandler
, LoadBalancingProxyClient.Host
public interface ConnectionPoolErrorHandler
Modifier and Type | Interface | Description |
---|---|---|
static class |
ConnectionPoolErrorHandler.CountingErrorHandler |
Counting error handler, this only propagates the state to the delegate handler after reaching a given limit.
|
static class |
ConnectionPoolErrorHandler.SimpleConnectionPoolErrorHandler |
Modifier and Type | Method | Description |
---|---|---|
boolean |
clearError() |
Clear the connection errors.
|
boolean |
handleError() |
Handle a connection error.
|
boolean |
isAvailable() |
Check whether pool is available
|
boolean isAvailable()
boolean handleError()
true
if the pool is still available, false
otherwiseboolean clearError()
true
if the pool is available again, false
otherwiseCopyright © 2018. All rights reserved.