super.setProperty(property);
}
@Override
public void testStarted(String distributedHost) {
JedisPoolConfig config = new JedisPoolConfig();
config.setMaxActive(getMaxActive());
config.setMaxIdle(getMaxIdle());
config.setMinIdle(getMinIdle());
config.setMaxWait(getMaxWait());
config.setWhenExhaustedAction((byte)getWhenExhaustedAction());
config.setTestOnBorrow(getTestOnBorrow());
config.setTestOnReturn(getTestOnReturn());
config.setTestWhileIdle(getTestWhileIdle());
config.setTimeBetweenEvictionRunsMillis(getTimeBetweenEvictionRunsMillis());
config.setNumTestsPerEvictionRun(getNumTestsPerEvictionRun());
config.setMinEvictableIdleTimeMillis(getMinEvictableIdleTimeMillis());
config.setSoftMinEvictableIdleTimeMillis(getSoftMinEvictableIdleTimeMillis());
int port = Protocol.DEFAULT_PORT;
if(!JOrphanUtils.isBlank(this.port)) {
port = Integer.parseInt(this.port);
}