Package oracle.jdbc.dcn
Interface FailureListener
-
public interface FailureListenerReceives notifications when the JDBC driver's automatic failover attempts for a Continuous Query Notification registration cannot be completed successfully. Implementations can use this callback to log the failure, trigger compensating actions, or schedule a retry based on the registration context provided. Use the connection propertyOracleConnection.NTF_CONNECTION_RETRY_COUNTto specify the maximum number of times the JDBC driver will attempt to re-establish a lost connection before invoking this listener.- Since:
- 26ai
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFailure(java.sql.SQLException sqlException)Invoked when an attempt to register a Continuous Query Notification fails.
-