org.jclouds.http.pool
Interface PoolConstants


public interface PoolConstants

Properties used in pooling http engines

Author:
Adrian Cole

Field Summary
static String PROPERTY_POOL_IO_WORKER_THREADS
          Integer property.
static String PROPERTY_POOL_MAX_CONNECTION_REUSE
          Integer property.
static String PROPERTY_POOL_MAX_CONNECTIONS
          Integer property.
static String PROPERTY_POOL_MAX_SESSION_FAILURES
          Integer property.
 

Field Detail

PROPERTY_POOL_MAX_CONNECTIONS

static final String PROPERTY_POOL_MAX_CONNECTIONS
Integer property. default (12)

Limits the amount of connections per host.

See Also:
Constant Field Values

PROPERTY_POOL_IO_WORKER_THREADS

static final String PROPERTY_POOL_IO_WORKER_THREADS
Integer property. default (12)

Amount of threads servicing the I/O of http connections

See Also:
Constant Field Values

PROPERTY_POOL_MAX_SESSION_FAILURES

static final String PROPERTY_POOL_MAX_SESSION_FAILURES
Integer property. default (2)

Maximum amount of http session failures before a pool is disabled.

See Also:
Constant Field Values

PROPERTY_POOL_MAX_CONNECTION_REUSE

static final String PROPERTY_POOL_MAX_CONNECTION_REUSE
Integer property. default (75)

Maximum amount of times to re-use an http connection. Services like Amazon S3 throw errors if connections are reused too many times.

See Also:
Constant Field Values


Copyright © 2009-2011 jclouds. All Rights Reserved.