public abstract class AbstractJedisRedisConnection extends AbstractRedisConnection implements JedisRedisConnection
限定符和类型 | 字段和说明 |
---|---|
protected Pipeline |
pipeline
管道
|
protected Transaction |
transaction
事务
|
构造器和说明 |
---|
AbstractJedisRedisConnection()
构造函数
|
AbstractJedisRedisConnection(JedisRedisDataSource dataSource)
构造函数
|
AbstractJedisRedisConnection(JedisRedisDataSource dataSource,
int connectTimeout,
int soTimeout)
构造函数
|
AbstractJedisRedisConnection(JedisRedisDataSource dataSource,
int connectTimeout,
int soTimeout,
int infiniteSoTimeout)
构造函数
|
AbstractJedisRedisConnection(JedisRedisDataSource dataSource,
int connectTimeout,
int soTimeout,
int infiniteSoTimeout,
SslConfiguration sslConfiguration)
构造函数
|
AbstractJedisRedisConnection(JedisRedisDataSource dataSource,
int connectTimeout,
int soTimeout,
SslConfiguration sslConfiguration)
构造函数
|
AbstractJedisRedisConnection(JedisRedisDataSource dataSource,
SslConfiguration sslConfiguration)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
protected redis.clients.jedis.DefaultJedisClientConfig.Builder |
createJedisClientConfigBuilder(JedisRedisDataSource dataSource,
int connectTimeout,
int soTimeout,
int infiniteSoTimeout) |
protected void |
doClose() |
protected void |
doDestroy() |
boolean |
isPipeline()
当前是否处于管道状态
|
boolean |
isTransaction()
当前是否处于事务状态
|
close, connect, destroy, doConnect, execute, getConnectTimeout, getDataSource, getInfiniteSoTimeout, getSoTimeout, getSslConfiguration, initialized, internalInit, isUseSsl, setConnectTimeout, setDataSource, setInfiniteSoTimeout, setSoTimeout, setSslConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closePipeline, connect, discard, exec, execute, getConnectTimeout, getDataSource, getInfiniteSoTimeout, getSoTimeout, getSslConfiguration, isClosed, isConnect, isUseSsl, multi, openPipeline, setConnectTimeout, setDataSource, setInfiniteSoTimeout, setSoTimeout, setSslConfiguration
destroy
protected Transaction transaction
protected volatile Pipeline pipeline
public AbstractJedisRedisConnection()
public AbstractJedisRedisConnection(JedisRedisDataSource dataSource)
dataSource
- Redis 数据源public AbstractJedisRedisConnection(JedisRedisDataSource dataSource, int connectTimeout, int soTimeout)
dataSource
- Redis 数据源connectTimeout
- 连接超时(单位:毫秒)soTimeout
- 读取超时(单位:毫秒)public AbstractJedisRedisConnection(JedisRedisDataSource dataSource, int connectTimeout, int soTimeout, int infiniteSoTimeout)
dataSource
- Redis 数据源connectTimeout
- 连接超时(单位:毫秒)soTimeout
- 读取超时(单位:毫秒)infiniteSoTimeout
- Infinite 读取超时(单位:毫秒)public AbstractJedisRedisConnection(JedisRedisDataSource dataSource, SslConfiguration sslConfiguration)
dataSource
- Redis 数据源sslConfiguration
- SSL 配置public AbstractJedisRedisConnection(JedisRedisDataSource dataSource, int connectTimeout, int soTimeout, SslConfiguration sslConfiguration)
dataSource
- Redis 数据源connectTimeout
- 连接超时(单位:毫秒)soTimeout
- 读取超时(单位:毫秒)sslConfiguration
- SSL 配置public AbstractJedisRedisConnection(JedisRedisDataSource dataSource, int connectTimeout, int soTimeout, int infiniteSoTimeout, SslConfiguration sslConfiguration)
dataSource
- Redis 数据源connectTimeout
- 连接超时(单位:毫秒)soTimeout
- 读取超时(单位:毫秒)infiniteSoTimeout
- Infinite 读取超时(单位:毫秒)sslConfiguration
- SSL 配置public boolean isPipeline()
RedisConnection
isPipeline
在接口中 RedisConnection
public boolean isTransaction()
RedisConnection
isTransaction
在接口中 RedisConnection
protected redis.clients.jedis.DefaultJedisClientConfig.Builder createJedisClientConfigBuilder(JedisRedisDataSource dataSource, int connectTimeout, int soTimeout, int infiniteSoTimeout)
protected void doDestroy() throws IOException
doDestroy
在类中 AbstractRedisConnection
IOException
protected void doClose() throws IOException
doClose
在类中 AbstractRedisConnection
IOException
Copyright © 2023 buession.com Inc.. All rights reserved.