Java org.springframework.data.redis.connection.jedis JedisConnectionFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.redis.connection.jedis JedisConnectionFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.redis.connection.jedis JedisConnectionFactory.

The text is from its open source code.

Subclass

org.springframework.data.redis.connection.jedis.JedisConnectionFactory has subclasses.
Click this link to see all its subclasses.

Constructor

JedisConnectionFactory()
Constructs a new JedisConnectionFactory instance with default settings (default connection pooling, no shard information).
JedisConnectionFactory(JedisClientConfiguration clientConfig)
Constructs a new JedisConnectionFactory instance given JedisClientConfiguration .
JedisConnectionFactory(JedisShardInfo shardInfo)
Constructs a new JedisConnectionFactory instance.
JedisConnectionFactory(JedisPoolConfig poolConfig)
Constructs a new JedisConnectionFactory instance using the given pool configuration.
JedisConnectionFactory(RedisSentinelConfiguration sentinelConfig)
Constructs a new JedisConnectionFactory instance using the given JedisPoolConfig applied to JedisSentinelPool .
JedisConnectionFactory(RedisClusterConfiguration clusterConfig)
Constructs a new JedisConnectionFactory instance using the given RedisClusterConfiguration applied to create a JedisCluster .
JedisConnectionFactory(RedisStandaloneConfiguration standaloneConfig)
Constructs a new JedisConnectionFactory instance using the given RedisStandaloneConfiguration .
JedisConnectionFactory(RedisSentinelConfiguration sentinelConfig, JedisPoolConfig poolConfig)
Constructs a new JedisConnectionFactory instance using the given JedisPoolConfig applied to JedisSentinelPool .
JedisConnectionFactory(RedisClusterConfiguration clusterConfig, JedisPoolConfig poolConfig)
Constructs a new JedisConnectionFactory instance using the given RedisClusterConfiguration applied to create a JedisCluster .
JedisConnectionFactory(RedisStandaloneConfiguration standaloneConfig, JedisClientConfiguration clientConfig)
Constructs a new JedisConnectionFactory instance using the given RedisStandaloneConfiguration and JedisClientConfiguration .
JedisConnectionFactory(RedisSentinelConfiguration sentinelConfig, JedisClientConfiguration clientConfig)
Constructs a new JedisConnectionFactory instance using the given RedisSentinelConfiguration and JedisClientConfiguration .
JedisConnectionFactory(RedisClusterConfiguration clusterConfig, JedisClientConfiguration clientConfig)
Constructs a new JedisConnectionFactory instance using the given RedisClusterConfiguration and JedisClientConfiguration .

Method

voidafterPropertiesSet()
voiddestroy()
RedisConnectiongetConnection()
intgetDatabase()
Returns the index of the database.
StringgetHostName()
Returns the Redis hostname.
StringgetPassword()
Returns the password used for authenticating with the Redis server.
GenericObjectPoolConfiggetPoolConfig()
Returns the poolConfig.
intgetPort()
Returns the port used to connect to the Redis instance.
voidsetDatabase(int index)
Sets the index of the database used by this connection factory.
voidsetHostName(String hostName)
Sets the Redis hostname.
voidsetPassword(String password)
Sets the password used for authenticating with the Redis server.
voidsetPoolConfig(JedisPoolConfig poolConfig)
Sets the pool configuration for this factory.
voidsetPort(int port)
Sets the port used to connect to the Redis instance.
voidsetTimeout(int timeout)
Sets the timeout.
voidsetUsePool(boolean usePool)
Turns on or off the use of connection pooling.