* The amount of time seconds an idle connection will be stored for reuse.
* @param locatorRetryTimeout -
* The number of seconds after a node is found dead that it will be retried.
*/
public ScspClient(String[] hosts, int port, int maxConnectionPoolSize, int maxRetries, int connectionTimeout, int poolTimeout, int locatorRetryTimeout) {
this.locator = new LocatorRedirectHandler(new StaticLocator(hosts, port, locatorRetryTimeout));
this.maxPoolSize = maxConnectionPoolSize;
this.maxRetries = maxRetries;
this.validating = false;
this.connectionTimeout = connectionTimeout * 1000;
this.poolTimeout = poolTimeout * 1000;