- All Implemented Interfaces:
public class LatencyServerSelector
LatencyServerSelector provides an implementation of the server selector that
uses the server latencies to determine the server to select.
- API Warning:
- This class is NOT part of the drivers API. This class may be
mutated in incompatible ways between any two releases of the driver.
- Copyright ©:
- 2012-2013, Allanbank Consulting, Inc., All Rights Reserved
|Modifier and Type
||Method and Description
Picks a server to try and connect to.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public LatencyServerSelector(Cluster cluster,
Creates a new LatencyServerSelector.
cluster - The cluster to choose from.
writableOnly - If true then only writable servers should be selected. If
false then any server (writable and not writable) may be
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.