public AsyncClientPool() throws IOException {
this(DEFAULT_MAX_CONNECTIONS_PER_HOST, DEFAULT_CONNECTION_TIMEOUT);
}
public AsyncClientPool(int maxConnectionsPerHost, int connectionTimeout) throws IOException {
_clientManager = new TAsyncClientManager();
_protocolFactory = new TBinaryProtocol.Factory();
_maxConnectionsPerHost = maxConnectionsPerHost;
_timeout = connectionTimeout;
try {
_transportField = TAsyncClient.class.getDeclaredField("___transport");