org.continuent.sequoia.driver.connectpolicy |
Defines the controller connection policies used by the driver to choose a
controller to connect to.
|
Java Source File Name | Type | Comment |
AbstractControllerConnectPolicy.java | Class | This class defines an AbstractControllerConnectPolicy used by the driver to
choose a controller to connect to. |
OrderedConnectPolicy.java | Class | This class defines an OrderedConnectPolicy used when the Sequoia URL has the
following form:
jdbc:sequoia://node1,node2,node3/myDB?preferredController=ordered
This always direct to the first available controller in the list following
the order of the list. |
PreferredListConnectPolicy.java | Class | |
RandomConnectPolicy.java | Class | |
RoundRobinConnectPolicy.java | Class | This class defines a RoundRobinConnectPolicy used when the Sequoia URL has
the following form:
jdbc:sequoia://node1,node2,node3/myDB?preferredController=roundRobin
Round robin starts with the first node in URL. |
SingleConnectPolicy.java | Class | This class defines a SingleConnectPolicy used when a Sequoia URL only
contains one controller. |