map.put(StandardSocketOption.SO_REUSEADDR, true);
return map;
}
public static final Configuration getDefaultConfiguration() {
final Configuration configuration = new Configuration();
configuration
.setSessionReadBufferSize(HSClient.DEFAULT_SESSION_READ_BUFF_SIZE);
configuration.setReadThreadCount(HSClient.DEFAULT_READ_THREAD_COUNT);
configuration.setSessionIdleTimeout(-1);
configuration.setWriteThreadCount(0);
return configuration;
}