public class SocketConnectionFactory extends Object implements ConnectionFactory
| Modifier and Type | Class and Description |
|---|---|
class |
SocketConnectionFactory.Input |
class |
SocketConnectionFactory.Output |
| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLED_CIPHER_SUITES |
static String |
PROPERTY_KEEPALIVE |
static String |
PROPERTY_POOL_SIZE |
static String |
PROPERTY_POOL_TIMEOUT |
static String |
PROPERTY_SOCKET_READ |
static String |
PROPERTY_SOCKET_TIMEOUT |
| Constructor and Description |
|---|
SocketConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(URI uri) |
static int |
getInt(Properties p,
String property,
int defaultValue) |
static long |
getLong(Properties p,
String property,
long defaultValue) |
public static final String PROPERTY_SOCKET_TIMEOUT
public static final String PROPERTY_SOCKET_READ
public static final String PROPERTY_POOL_TIMEOUT
public static final String PROPERTY_POOL_SIZE
public static final String PROPERTY_KEEPALIVE
public static final String ENABLED_CIPHER_SUITES
public static int getInt(Properties p, String property, int defaultValue)
public static long getLong(Properties p, String property, long defaultValue)
public Connection getConnection(URI uri) throws IOException
getConnection in interface ConnectionFactoryIOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.