Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractRedisServiceImpl - Class in cn.com.anysdk.redis.impl
-
Redis服务抽象基类 包含所有通用的Redis操作实现
- AbstractRedisServiceImpl(RedisConfigProperties, RedisEventManager) - Constructor for class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
-
构造函数
- ALIYUN_ERROR - Enum constant in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
阿里云特有错误
- AliyunConfig() - Constructor for class cn.com.anysdk.redis.config.RedisConfigProperties.AliyunConfig
- AliyunRedisConfig - Class in cn.com.anysdk.redis.config
-
阿里云Redis配置 支持标准主从、集群版、哨兵模式
- AliyunRedisConfig() - Constructor for class cn.com.anysdk.redis.config.AliyunRedisConfig
- AliyunRedisException - Exception Class in cn.com.anysdk.redis.exception
-
阿里云Redis异常
- AliyunRedisException(String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException
- AliyunRedisException(String, String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException
- AliyunRedisException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException
- AliyunRedisException(String, Throwable, String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException
- AliyunRedisException.InstanceNotFoundException - Exception Class in cn.com.anysdk.redis.exception
-
实例不存在异常
- AliyunRedisException.PermissionDeniedException - Exception Class in cn.com.anysdk.redis.exception
-
权限不足异常
- AliyunRedisException.QuotaLimitException - Exception Class in cn.com.anysdk.redis.exception
-
配额限制异常
- AliyunRedisException.VpcNetworkException - Exception Class in cn.com.anysdk.redis.exception
-
VPC网络异常
- AliyunRedisServiceImpl - Class in cn.com.anysdk.redis.impl
-
阿里云Redis服务实现类 支持标准版、集群版、哨兵模式
- AliyunRedisServiceImpl(RedisConfigProperties, RedisEventManager) - Constructor for class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
-
构造函数
- AuthenticationException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException.AuthenticationException
C
- close() - Method in interface cn.com.anysdk.redis.api.IRedisService
- close() - Method in class cn.com.anysdk.redis.factory.RedisConnectionFactory
-
关闭连接工厂
- close() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- close() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- cn.com.anysdk.redis.api - package cn.com.anysdk.redis.api
- cn.com.anysdk.redis.config - package cn.com.anysdk.redis.config
- cn.com.anysdk.redis.event - package cn.com.anysdk.redis.event
- cn.com.anysdk.redis.exception - package cn.com.anysdk.redis.exception
- cn.com.anysdk.redis.factory - package cn.com.anysdk.redis.factory
- cn.com.anysdk.redis.impl - package cn.com.anysdk.redis.impl
- cn.com.anysdk.redis.reconnect - package cn.com.anysdk.redis.reconnect
- COMMAND_ERROR - Enum constant in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
命令错误
- ConfigMissingException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException.ConfigMissingException
- ConfigMissingException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException.ConfigMissingException
- CONNECTION_ERROR - Enum constant in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
连接错误
- connectionFactory - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- createRedisService(RedisConfigProperties, RedisEventManager) - Static method in class cn.com.anysdk.redis.factory.RedisServiceFactory
-
创建Redis服务实例
D
- DefaultRedisEventListener - Class in cn.com.anysdk.redis.event
-
默认Redis事件监听器实现 主要用于日志记录
- DefaultRedisEventListener() - Constructor for class cn.com.anysdk.redis.event.DefaultRedisEventListener
- del(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- del(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- del(String) - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- destroy() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- destroy() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- discard() - Method in interface cn.com.anysdk.redis.api.IRedisService
- discard() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- discard() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
E
- ENVIRONMENT_ERROR - Enum constant in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
环境错误
- eval(String, List<String>, List<String>) - Method in interface cn.com.anysdk.redis.api.IRedisService
- eval(String, List<String>, List<String>) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- eventManager - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- exceptionHandler - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- exec() - Method in interface cn.com.anysdk.redis.api.IRedisService
- exec() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- exec() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- executeCommand(Function<Jedis, T>) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
-
执行Redis命令并处理异常
- ExecutionException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException.ExecutionException
- ExecutionException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException.ExecutionException
- exists(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- exists(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- expire(String, long) - Method in interface cn.com.anysdk.redis.api.IRedisService
- expire(String, long) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- EXPONENTIAL_BACKOFF - Enum constant in enum class cn.com.anysdk.redis.event.RedisReconnectingEvent.RetryStrategy
-
指数退避
- ExponentialBackoffReconnectStrategy - Class in cn.com.anysdk.redis.reconnect
-
指数退避重连策略 每次重试的等待时间会按指数增长,直到达到最大等待时间
- ExponentialBackoffReconnectStrategy(long, long, double, int) - Constructor for class cn.com.anysdk.redis.reconnect.ExponentialBackoffReconnectStrategy
-
创建指数退避重连策略
F
- fireConnectEvent(RedisConnectionEvent) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
分发连接事件
- fireDisconnectEvent(RedisConnectionEvent) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
分发断开连接事件
- fireEnvironmentChangeEvent(RedisEnvironmentChangeEvent) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
分发环境切换事件
- fireErrorEvent(RedisErrorEvent) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
分发错误事件
- fireReconnectingEvent(RedisReconnectingEvent) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
分发重连事件
- FIXED_INTERVAL - Enum constant in enum class cn.com.anysdk.redis.event.RedisReconnectingEvent.RetryStrategy
-
固定间隔
- FixedIntervalReconnectStrategy - Class in cn.com.anysdk.redis.reconnect
-
固定间隔重连策略
- FixedIntervalReconnectStrategy(long, int) - Constructor for class cn.com.anysdk.redis.reconnect.FixedIntervalReconnectStrategy
-
创建固定间隔重连策略
- flushAll() - Method in interface cn.com.anysdk.redis.api.IRedisService
- flushAll() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- flushDB() - Method in interface cn.com.anysdk.redis.api.IRedisService
- flushDB() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
G
- get(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- get(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- get(String) - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- getClusterConnection() - Method in class cn.com.anysdk.redis.factory.RedisConnectionFactory
-
获取Redis集群连接
- getConnection() - Method in class cn.com.anysdk.redis.factory.RedisConnectionFactory
-
获取Redis连接
- getDatabase() - Method in interface cn.com.anysdk.redis.api.IRedisConfig
-
获取数据库编号
- getDatabase() - Method in class cn.com.anysdk.redis.config.AliyunRedisConfig
- getDatabase() - Method in class cn.com.anysdk.redis.config.HuaweiRedisConfig
- getDatabase() - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- getDatabase() - Method in class cn.com.anysdk.redis.config.TencentRedisConfig
- getErrorCode() - Method in exception class cn.com.anysdk.redis.exception.RedisException
-
获取错误码
- getHost() - Method in interface cn.com.anysdk.redis.api.IRedisConfig
-
获取主机地址
- getHost() - Method in class cn.com.anysdk.redis.config.AliyunRedisConfig
- getHost() - Method in class cn.com.anysdk.redis.config.HuaweiRedisConfig
- getHost() - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- getHost() - Method in class cn.com.anysdk.redis.config.TencentRedisConfig
- getJedis() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
-
获取Jedis连接
- getJedis() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
-
重写getJedis以处理集群模式
- getMaxRetryCount() - Method in class cn.com.anysdk.redis.reconnect.ExponentialBackoffReconnectStrategy
- getMaxRetryCount() - Method in class cn.com.anysdk.redis.reconnect.FixedIntervalReconnectStrategy
- getMaxRetryCount() - Method in interface cn.com.anysdk.redis.reconnect.RedisReconnectStrategy
-
获取最大重试次数
- getName() - Method in class cn.com.anysdk.redis.reconnect.ExponentialBackoffReconnectStrategy
- getName() - Method in class cn.com.anysdk.redis.reconnect.FixedIntervalReconnectStrategy
- getName() - Method in interface cn.com.anysdk.redis.reconnect.RedisReconnectStrategy
-
获取策略名称
- getNextWaitTime(int) - Method in class cn.com.anysdk.redis.reconnect.ExponentialBackoffReconnectStrategy
- getNextWaitTime(int) - Method in class cn.com.anysdk.redis.reconnect.FixedIntervalReconnectStrategy
- getNextWaitTime(int) - Method in interface cn.com.anysdk.redis.reconnect.RedisReconnectStrategy
-
获取下一次重连的等待时间(毫秒)
- getPassword() - Method in interface cn.com.anysdk.redis.api.IRedisConfig
-
获取密码
- getPassword() - Method in class cn.com.anysdk.redis.config.AliyunRedisConfig
- getPassword() - Method in class cn.com.anysdk.redis.config.HuaweiRedisConfig
- getPassword() - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- getPassword() - Method in class cn.com.anysdk.redis.config.TencentRedisConfig
- getPort() - Method in interface cn.com.anysdk.redis.api.IRedisConfig
-
获取端口号
- getPort() - Method in class cn.com.anysdk.redis.config.AliyunRedisConfig
- getPort() - Method in class cn.com.anysdk.redis.config.HuaweiRedisConfig
- getPort() - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- getPort() - Method in class cn.com.anysdk.redis.config.TencentRedisConfig
- getServiceName() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
-
获取服务名称(用于日志)
- getServiceName() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- getServiceName() - Method in class cn.com.anysdk.redis.impl.LocalRedisServiceImpl
H
- handleException(Throwable, Object, String) - Method in class cn.com.anysdk.redis.exception.RedisExceptionHandler
-
处理异常
- hDel(String, String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hDel(String, String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- hExists(String, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hExists(String, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- hGet(String, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hGet(String, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- hGetAll(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hGetAll(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- hKeys(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hKeys(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- hLen(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hLen(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- hSet(String, String, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hSet(String, String, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- HuaweiRedisConfig - Class in cn.com.anysdk.redis.config
-
华为云Redis配置 支持单机版、主备版、集群版、读写分离版
- HuaweiRedisConfig() - Constructor for class cn.com.anysdk.redis.config.HuaweiRedisConfig
- hVals(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- hVals(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
I
- init() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
-
初始化Redis服务
- initConnection() - Method in class cn.com.anysdk.redis.factory.RedisConnectionFactory
-
初始化Redis连接
- InstanceNotFoundException(String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.InstanceNotFoundException
- InstanceNotFoundException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.InstanceNotFoundException
- IRedisConfig - Interface in cn.com.anysdk.redis.api
-
Redis配置接口
- IRedisService - Interface in cn.com.anysdk.redis.api
- isSupportedEnvironment(String) - Static method in class cn.com.anysdk.redis.factory.RedisServiceFactory
-
检查环境是否支持
J
- jedis - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
K
- keys(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- keys(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
L
- lIndex(String, long) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lIndex(String, long) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- lLen(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lLen(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- LocalConfig() - Constructor for class cn.com.anysdk.redis.config.RedisConfigProperties.LocalConfig
- LocalRedisConfig - Class in cn.com.anysdk.redis.config
-
本地Redis配置
- LocalRedisConfig() - Constructor for class cn.com.anysdk.redis.config.LocalRedisConfig
- LocalRedisServiceImpl - Class in cn.com.anysdk.redis.impl
-
本地Redis服务实现类 专门用于本地Redis连接的实现
- LocalRedisServiceImpl(RedisConfigProperties, RedisEventManager) - Constructor for class cn.com.anysdk.redis.impl.LocalRedisServiceImpl
-
构造函数
- lPop(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lPop(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- lPush(String, String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lPush(String, String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- lRange(String, long, long) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lRange(String, long, long) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- lRem(String, long, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lRem(String, long, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- lSet(String, long, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- lSet(String, long, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
M
- memoryUsage(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- memoryUsage(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- multi() - Method in interface cn.com.anysdk.redis.api.IRedisService
- multi() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- multi() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
N
- NetworkException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException.NetworkException
- NetworkException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException.NetworkException
O
- onConnect(RedisConnectionEvent) - Method in class cn.com.anysdk.redis.event.DefaultRedisEventListener
- onConnect(RedisConnectionEvent) - Method in interface cn.com.anysdk.redis.event.RedisEventListener
-
连接成功事件
- onDisconnect(RedisConnectionEvent) - Method in class cn.com.anysdk.redis.event.DefaultRedisEventListener
- onDisconnect(RedisConnectionEvent) - Method in interface cn.com.anysdk.redis.event.RedisEventListener
-
连接断开事件
- onEnvironmentChange(RedisEnvironmentChangeEvent) - Method in class cn.com.anysdk.redis.event.DefaultRedisEventListener
- onEnvironmentChange(RedisEnvironmentChangeEvent) - Method in interface cn.com.anysdk.redis.event.RedisEventListener
-
环境切换事件
- onError(RedisErrorEvent) - Method in class cn.com.anysdk.redis.event.DefaultRedisEventListener
- onError(RedisErrorEvent) - Method in interface cn.com.anysdk.redis.event.RedisEventListener
-
发生错误事件
- onInit() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
-
子类可重写的初始化方法
- onInit() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- onInit() - Method in class cn.com.anysdk.redis.impl.LocalRedisServiceImpl
- onReconnecting(RedisReconnectingEvent) - Method in class cn.com.anysdk.redis.event.DefaultRedisEventListener
- onReconnecting(RedisReconnectingEvent) - Method in interface cn.com.anysdk.redis.event.RedisEventListener
-
正在重连事件
P
- PermissionDeniedException(String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.PermissionDeniedException
- PermissionDeniedException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.PermissionDeniedException
- ping() - Method in interface cn.com.anysdk.redis.api.IRedisService
- ping() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- ping() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- pipeline - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- pipeline() - Method in interface cn.com.anysdk.redis.api.IRedisService
- pipeline() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- pipeline() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- PoolConfig() - Constructor for class cn.com.anysdk.redis.config.RedisConfigProperties.PoolConfig
Q
- QuotaLimitException(String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.QuotaLimitException
- QuotaLimitException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.QuotaLimitException
R
- RedisCommandException - Exception Class in cn.com.anysdk.redis.exception
-
Redis命令异常
- RedisCommandException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException
- RedisCommandException(String, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException
- RedisCommandException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException
- RedisCommandException(String, Throwable, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException
- RedisCommandException.ExecutionException - Exception Class in cn.com.anysdk.redis.exception
-
执行错误异常
- RedisCommandException.SyntaxException - Exception Class in cn.com.anysdk.redis.exception
-
语法错误异常
- RedisCommandException.TypeException - Exception Class in cn.com.anysdk.redis.exception
-
类型错误异常
- RedisConfigProperties - Class in cn.com.anysdk.redis.config
-
Redis配置属性类 核心库配置,可以独立使用或配合Spring Boot
- RedisConfigProperties() - Constructor for class cn.com.anysdk.redis.config.RedisConfigProperties
- RedisConfigProperties.AliyunConfig - Class in cn.com.anysdk.redis.config
- RedisConfigProperties.LocalConfig - Class in cn.com.anysdk.redis.config
- RedisConfigProperties.PoolConfig - Class in cn.com.anysdk.redis.config
- RedisConfigProperties.TimeoutConfig - Class in cn.com.anysdk.redis.config
- RedisConnectionEvent - Class in cn.com.anysdk.redis.event
- RedisConnectionEvent(RedisConnectionFactory, String, String, int, Date) - Constructor for class cn.com.anysdk.redis.event.RedisConnectionEvent
- RedisConnectionException - Exception Class in cn.com.anysdk.redis.exception
-
Redis连接异常
- RedisConnectionException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException
- RedisConnectionException(String, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException
- RedisConnectionException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException
- RedisConnectionException(String, Throwable, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException
- RedisConnectionException.AuthenticationException - Exception Class in cn.com.anysdk.redis.exception
-
认证失败异常
- RedisConnectionException.NetworkException - Exception Class in cn.com.anysdk.redis.exception
-
网络异常
- RedisConnectionException.TimeoutException - Exception Class in cn.com.anysdk.redis.exception
-
连接超时异常
- RedisConnectionFactory - Class in cn.com.anysdk.redis.factory
-
Redis连接工厂 负责创建和管理Redis连接,支持本地和阿里云环境
- RedisConnectionFactory(RedisConfigProperties, RedisEventManager) - Constructor for class cn.com.anysdk.redis.factory.RedisConnectionFactory
-
创建Redis连接工厂
- RedisEnvironmentChangeEvent - Class in cn.com.anysdk.redis.event
- RedisEnvironmentChangeEvent(RedisConnectionFactory, String, String, String, Date) - Constructor for class cn.com.anysdk.redis.event.RedisEnvironmentChangeEvent
- RedisEnvironmentException - Exception Class in cn.com.anysdk.redis.exception
-
Redis环境异常
- RedisEnvironmentException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException
- RedisEnvironmentException(String, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException
- RedisEnvironmentException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException
- RedisEnvironmentException(String, Throwable, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException
- RedisEnvironmentException.ConfigMissingException - Exception Class in cn.com.anysdk.redis.exception
-
配置缺失异常
- RedisEnvironmentException.SwitchException - Exception Class in cn.com.anysdk.redis.exception
-
环境切换异常
- RedisEnvironmentException.UndefinedEnvironmentException - Exception Class in cn.com.anysdk.redis.exception
-
环境未定义异常
- RedisErrorEvent - Class in cn.com.anysdk.redis.event
-
Redis错误事件
- RedisErrorEvent(Object, String, RedisErrorEvent.ErrorType, String, Throwable, String) - Constructor for class cn.com.anysdk.redis.event.RedisErrorEvent
- RedisErrorEvent.ErrorType - Enum Class in cn.com.anysdk.redis.event
-
错误类型枚举
- RedisEvent - Class in cn.com.anysdk.redis.event
-
Redis事件基类
- RedisEvent(Object, String) - Constructor for class cn.com.anysdk.redis.event.RedisEvent
- RedisEventListener - Interface in cn.com.anysdk.redis.event
-
Redis事件监听器接口 用于监听Redis连接相关事件
- RedisEventManager - Class in cn.com.anysdk.redis.event
-
Redis事件管理器 负责事件的注册和分发
- RedisEventManager() - Constructor for class cn.com.anysdk.redis.event.RedisEventManager
- RedisException - Exception Class in cn.com.anysdk.redis.exception
-
Redis异常基类
- RedisException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisException
- RedisException(String, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisException
- RedisException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisException
- RedisException(String, Throwable, String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisException
- RedisExceptionHandler - Class in cn.com.anysdk.redis.exception
-
Redis异常处理器
- RedisExceptionHandler(RedisEventManager) - Constructor for class cn.com.anysdk.redis.exception.RedisExceptionHandler
- redisProperties - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- RedisReconnectingEvent - Class in cn.com.anysdk.redis.event
-
Redis重连事件
- RedisReconnectingEvent(Object, String, int, int, long, RedisReconnectingEvent.RetryStrategy) - Constructor for class cn.com.anysdk.redis.event.RedisReconnectingEvent
- RedisReconnectingEvent.RetryStrategy - Enum Class in cn.com.anysdk.redis.event
-
重连策略枚举
- RedisReconnectManager - Class in cn.com.anysdk.redis.reconnect
-
Redis重连管理器
- RedisReconnectManager(RedisEventManager, RedisReconnectStrategy) - Constructor for class cn.com.anysdk.redis.reconnect.RedisReconnectManager
-
创建重连管理器
- RedisReconnectStrategy - Interface in cn.com.anysdk.redis.reconnect
-
Redis重连策略接口
- RedisServiceFactory - Class in cn.com.anysdk.redis.factory
-
Redis服务工厂 根据环境配置创建对应的Redis服务实现
- RedisServiceFactory() - Constructor for class cn.com.anysdk.redis.factory.RedisServiceFactory
- registerListener(RedisEventListener) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
注册事件监听器
- removeListener(RedisEventListener) - Method in class cn.com.anysdk.redis.event.RedisEventManager
-
移除事件监听器
- reset() - Method in class cn.com.anysdk.redis.reconnect.ExponentialBackoffReconnectStrategy
- reset() - Method in class cn.com.anysdk.redis.reconnect.FixedIntervalReconnectStrategy
- reset() - Method in class cn.com.anysdk.redis.reconnect.RedisReconnectManager
-
重置重连状态
- reset() - Method in interface cn.com.anysdk.redis.reconnect.RedisReconnectStrategy
-
重置重连策略状态
- rPop(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- rPop(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- rPush(String, String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- rPush(String, String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
S
- sAdd(String, String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sAdd(String, String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- sCard(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sCard(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- sDiff(String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sDiff(String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- set(String, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- set(String, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- set(String, String) - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- setDatabase(int) - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- setEx(String, String, long) - Method in interface cn.com.anysdk.redis.api.IRedisService
- setEx(String, String, long) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- setHost(String) - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- setPassword(String) - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- setPort(int) - Method in class cn.com.anysdk.redis.config.LocalRedisConfig
- shutdown() - Method in class cn.com.anysdk.redis.reconnect.RedisReconnectManager
-
关闭重连管理器
- sInter(String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sInter(String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- sIsMember(String, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sIsMember(String, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- sMembers(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sMembers(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- sRem(String, String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sRem(String, String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- startReconnect(Object, String, Supplier<Boolean>) - Method in class cn.com.anysdk.redis.reconnect.RedisReconnectManager
-
开始重连
- stopReconnect() - Method in class cn.com.anysdk.redis.reconnect.RedisReconnectManager
-
停止重连
- sUnion(String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- sUnion(String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- switchEnvironment(String) - Method in class cn.com.anysdk.redis.factory.RedisConnectionFactory
-
切换Redis环境
- SwitchException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException.SwitchException
- SwitchException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException.SwitchException
- sync() - Method in interface cn.com.anysdk.redis.api.IRedisService
- sync() - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- sync() - Method in class cn.com.anysdk.redis.impl.AliyunRedisServiceImpl
- SyntaxException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException.SyntaxException
- SyntaxException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException.SyntaxException
T
- TencentRedisConfig - Class in cn.com.anysdk.redis.config
-
腾讯云Redis配置 支持标准版、集群版、读写分离版
- TencentRedisConfig() - Constructor for class cn.com.anysdk.redis.config.TencentRedisConfig
- TimeoutConfig() - Constructor for class cn.com.anysdk.redis.config.RedisConfigProperties.TimeoutConfig
- TimeoutException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException.TimeoutException
- TimeoutException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisConnectionException.TimeoutException
- transaction - Variable in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- ttl(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- ttl(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- type(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- type(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- TypeException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException.TypeException
- TypeException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisCommandException.TypeException
U
- UndefinedEnvironmentException(String) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException.UndefinedEnvironmentException
- UndefinedEnvironmentException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.RedisEnvironmentException.UndefinedEnvironmentException
- UNKNOWN_ERROR - Enum constant in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
未知错误
V
- valueOf(String) - Static method in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.com.anysdk.redis.event.RedisReconnectingEvent.RetryStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cn.com.anysdk.redis.event.RedisErrorEvent.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cn.com.anysdk.redis.event.RedisReconnectingEvent.RetryStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VpcNetworkException(String) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.VpcNetworkException
- VpcNetworkException(String, Throwable) - Constructor for exception class cn.com.anysdk.redis.exception.AliyunRedisException.VpcNetworkException
Z
- zAdd(String, double, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zAdd(String, double, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zCard(String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zCard(String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zRange(String, long, long) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zRange(String, long, long) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zRangeByScore(String, double, double) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zRangeByScore(String, double, double) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zRem(String, String...) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zRem(String, String...) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zRevRange(String, long, long) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zRevRange(String, long, long) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zRevRangeByScore(String, double, double) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zRevRangeByScore(String, double, double) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
- zScore(String, String) - Method in interface cn.com.anysdk.redis.api.IRedisService
- zScore(String, String) - Method in class cn.com.anysdk.redis.impl.AbstractRedisServiceImpl
All Classes and Interfaces|All Packages|Serialized Form