public class RedisSocketFactory extends SocketFactory
限定符和类型 | 字段 | 说明 |
---|---|---|
protected Configuration |
configuration |
构造器 | 说明 |
---|---|
RedisSocketFactory(Configuration configuration) |
限定符和类型 | 方法 | 说明 |
---|---|---|
Socket |
createSocket(String host,
int port) |
|
Socket |
createSocket(String host,
int port,
int timeout) |
|
Socket |
createSocket(String host,
int port,
InetAddress localAddr,
int localPort) |
|
Socket |
createSocket(InetAddress address,
int port) |
|
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddr,
int localPort) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSocket, getDefault
protected final Configuration configuration
public RedisSocketFactory(Configuration configuration)
public Socket createSocket(String host, int port) throws IOException
createSocket
在类中 SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) throws IOException
createSocket
在类中 SocketFactory
IOException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
在类中 SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException
createSocket
在类中 SocketFactory
IOException
public Socket createSocket(String host, int port, int timeout) throws IOException
IOException
Copyright © 2018. All rights reserved.