Example usage for Java org.springframework.data.redis.connection.jedis JedisConnectionFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
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 . |
void | afterPropertiesSet() |
void | destroy() |
RedisConnection | getConnection() |
int | getDatabase() Returns the index of the database. |
String | getHostName() Returns the Redis hostname. |
String | getPassword() Returns the password used for authenticating with the Redis server. |
GenericObjectPoolConfig | getPoolConfig() Returns the poolConfig. |
int | getPort() Returns the port used to connect to the Redis instance. |
void | setDatabase(int index) Sets the index of the database used by this connection factory. |
void | setHostName(String hostName) Sets the Redis hostname. |
void | setPassword(String password) Sets the password used for authenticating with the Redis server. |
void | setPoolConfig(JedisPoolConfig poolConfig) Sets the pool configuration for this factory. |
void | setPort(int port) Sets the port used to connect to the Redis instance. |
void | setTimeout(int timeout) Sets the timeout. |
void | setUsePool(boolean usePool) Turns on or off the use of connection pooling. |