.withConnectionPoolConfiguration(
new ConnectionPoolConfigurationImpl(TEST_CLUSTER_NAME)
.setSeeds(SEEDS).setSocketTimeout(30000)
.setMaxTimeoutWhenExhausted(200)
.setMaxConnsPerHost(1))
.withConnectionPoolMonitor(new CountingConnectionPoolMonitor())
.buildCluster(ThriftFamilyFactory.getInstance());
clusterContext.start();
Cluster cluster = clusterContext.getEntity();