Should add some new servers to the host list
Should add some new servers to the host list
hosts to add
Should try to connect to a new host if possible.
Should try to connect to a new host if possible. This operation will interrupt request sending until a new connection and a new session are established
the server to connect to
Future.Done or Exception
Should remove some hosts from the host list
Should remove some hosts from the host list
hosts to remove
Future.Done or Exception
Should start to search a RW mode server.
Should start to search a RW mode server.
Future.Done
Start the loop which will check connection and session every timeBetweenLinkCheck
Start the loop which will check connection and session every timeBetweenLinkCheck
Should stop Rw mode server search.
Should stop Rw mode server search.
Future.Done
Stop the state loop by cancelling its scheduler task
Stop the state loop by cancelling its scheduler task