public interface ConnectionPoolErrorHandler
Modifier and Type | Interface and 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 and 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 © 2019 JBoss by Red Hat. All rights reserved.