/** * Gets the maximum number of connections allowed. * * @return The maximum number of connections allowed. * * @see #MAX_TOTAL_CONNECTIONS */ public int getMaxTotalConnections() { return getIntParameter( HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, MultiThreadedHttpConnectionManager.DEFAULT_MAX_TOTAL_CONNECTIONS); }
/** * Gets the maximum number of connections allowed. * * @return The maximum number of connections allowed. * * @see #MAX_TOTAL_CONNECTIONS */ public int getMaxTotalConnections() { return getIntParameter( HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, MultiThreadedHttpConnectionManager.DEFAULT_MAX_TOTAL_CONNECTIONS); }
/** * Gets the maximum number of connections allowed. * * @return The maximum number of connections allowed. * * @see #MAX_TOTAL_CONNECTIONS */ public int getMaxTotalConnections() { return getIntParameter( HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, MultiThreadedHttpConnectionManager.DEFAULT_MAX_TOTAL_CONNECTIONS); }
/** * Gets the maximum number of connections allowed. * * @return The maximum number of connections allowed. * * @see #MAX_TOTAL_CONNECTIONS */ public int getMaxTotalConnections() { return getIntParameter( HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, MultiThreadedHttpConnectionManager.DEFAULT_MAX_TOTAL_CONNECTIONS); }
/** * Gets the maximum number of connections allowed. * * @return The maximum number of connections allowed. * * @see #MAX_TOTAL_CONNECTIONS */ public int getMaxTotalConnections() { return getIntParameter( HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, MultiThreadedHttpConnectionManager.DEFAULT_MAX_TOTAL_CONNECTIONS); }
/** * Return the maximum number of connections allowed for the client */ public int getMaxConnectionsTotal() { return client.getHttpConnectionManager().getParams() .getIntParameter(HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, MultiThreadedHttpConnectionManager.DEFAULT_MAX_TOTAL_CONNECTIONS); }
/** * Return the timeout until a connection is etablished, in milliseconds. A value of zero means the timeout is not * used. The default value is zero. */ public int getConnectionTimeout() { return client.getHttpConnectionManager().getParams() .getIntParameter(HttpConnectionParams.CONNECTION_TIMEOUT, 0); }