public interface WriterFailoverHandler
| Modifier and Type | Method and Description |
|---|---|
WriterFailoverResult |
failover(java.util.List<HostSpec> currentTopology)
Called to start Writer Failover Process.
|
java.util.Map<java.lang.String,HostAvailability> |
getHostAvailabilityMap()
Get the host availability map for the failover handler.
|
WriterFailoverResult failover(java.util.List<HostSpec> currentTopology) throws java.sql.SQLException
currentTopology - Cluster current topologyWriterFailoverResult The results of this process.java.sql.SQLException - indicating whether the failover attempt was successful.java.util.Map<java.lang.String,HostAvailability> getHostAvailabilityMap()