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 Detail

      • getDescription

        String getDescription()
      • setHost

        void setHost​(String host)
      • getPort

        int getPort()
      • setPort

        void setPort​(int port)
      • getConnectionTimeout

        int getConnectionTimeout()
      • setConnectionTimeout

        void setConnectionTimeout​(int connectionTimeout)
      • getSoTimeout

        int getSoTimeout()
      • setSoTimeout

        void setSoTimeout​(int soTimeout)