
redis.clients.jedis.JedisSocketFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.jedis
Show all versions of org.apache.servicemix.bundles.jedis
This OSGi bundle wraps the ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
package redis.clients.jedis;
import java.net.Socket;
import redis.clients.jedis.exceptions.JedisConnectionException;
/**
* 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
*/
public interface JedisSocketFactory {
Socket createSocket() throws JedisConnectionException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy