FileDocCategorySizeDatePackage
CommonsHTTPClientProperties.javaAPI DocApache Axis 1.42433Sat Apr 22 18:57:28 BST 2006org.apache.axis.components.net

CommonsHTTPClientProperties

public interface CommonsHTTPClientProperties
Interface implemented by classes seeking to configure the properties of the multi threaded connection pool used in the CommonsHTTPSender transport implementation.
author
Eric Friedman

Fields Summary
Constructors Summary
Methods Summary
public intgetConnectionPoolTimeout()
Used to set the amount of time, in milliseconds, spent waiting for an available connection from the pool. An exception is raised if the timeout is triggered.

return
an integer > 1 OR 0 for infinite timeout

public intgetDefaultConnectionTimeout()
Used to set the default amount of time, in milliseconds, spent waiting for a connection. This can be overridden by the MessageContext

return
an integer >= 0

public intgetDefaultSoTimeout()
Used to set the default amount of time, in milliseconds, spent waiting for a reponse. This can be overridden by the MessageContext

return
an integer >= 0

public intgetMaximumConnectionsPerHost()
Used to set the maximum number of connections that will be pooled for a given host. This setting is also constrained by the one returned from getMaximumTotalConnections.

return
an integer > 1

public intgetMaximumTotalConnections()
Used to set the maximum number of connections that the pool can open for all hosts. Since connections imply sockets and sockets imply file descriptors, the setting you use must not exceed any limits your system imposes on the number of open file descriptors a single process may have.

return
an integer > 1