public interface FailoverListener
extends java.util.EventListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleFailoverEvent(FailoverEvent e)
This method will be invoked for the first time if a Connection interrupt was detected.
|
boolean handleFailoverEvent(FailoverEvent e)
true was returned, the next FailoverEvent either has the type FO_END or FO_ERROR.true if you want to try restoring the Connection again.e - the Event containing information about the failover state.true to start the try of restore the Connection and all theire Statements;false to break the try of restore the Connection.FailoverEvent,
FailoverEvent.getEventType(),
FailoverEvent.getException(),
PoolManager.addFailoverListener(com.inet.pool.FailoverListener, java.sql.Connection)
copyright by i-net software