boolean testWhileIdle = cassandraHost.isTestWhileIdle();
boolean testOnConnect = cassandraHost.isTestOnConnect();
boolean testOnReturn = cassandraHost.isTestOnReturn();
int socketTimeOut = cassandraHost.getSocketTimeOut();
int maxWaitInMilli = cassandraHost.getMaxWait();
HostFailoverPolicy paramHostFailoverPolicy = cassandraHost.getHostFailoverPolicy();
if (maxActivePerNode > 0)
{
prop.setInitialSize(maxActivePerNode);
prop.setMaxActive(maxActivePerNode);
}