public interface ConnectionUpdatePolicy
shouldUpdateWriterConnection/shouldUpdateReaderConnection variation.| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldUpdateReader(RwSplitContext ctx,
java.sql.Connection currentConnection,
HostSpec currentHost) |
boolean |
shouldUpdateWriter(RwSplitContext ctx,
java.sql.Connection currentConnection,
HostSpec currentHost) |
boolean shouldUpdateWriter(RwSplitContext ctx, java.sql.Connection currentConnection, HostSpec currentHost) throws java.sql.SQLException
java.sql.SQLExceptionboolean shouldUpdateReader(RwSplitContext ctx, java.sql.Connection currentConnection, HostSpec currentHost) throws java.sql.SQLException
java.sql.SQLException