|
i-net JDBC drivers for MS SQL Server | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FailoverListener
Method Summary | |
---|---|
boolean |
handleFailoverEvent(FailoverEvent e)
This method will be invoked for the first time if a Connection interrupt was detected. |
Method Detail |
---|
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)
|
i-net JDBC drivers for MS SQL Server | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |