Package redis.clients.jedis
Interface JedisSocketFactory
- All Known Implementing Classes:
DefaultJedisSocketFactory
public interface JedisSocketFactory
JedisSocketFactory: responsible for creating socket connections
from the within the Jedis client, the default socket factory will
create TCP sockets with the recommended configuration.
You can use a custom JedisSocketFactory for many use cases, such as: - a custom address resolver - a unix domain socket - a custom configuration for you TCP sockets
-
Method Summary
-
Method Details
-
createSocket
- Throws:
JedisConnectionException
-