| | |
| | | import org.dromara.common.core.utils.SpringUtils; |
| | | import org.dromara.common.redis.config.properties.RedissonProperties; |
| | | import org.dromara.common.redis.handler.KeyPrefixHandler; |
| | | import org.dromara.common.redis.handler.RedisExceptionHandler; |
| | | import org.redisson.client.codec.StringCodec; |
| | | import org.redisson.codec.CompositeCodec; |
| | | import org.redisson.codec.TypedJsonJacksonCodec; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 异常处理器 |
| | | */ |
| | | @Bean |
| | | public RedisExceptionHandler redisExceptionHandler() { |
| | | return new RedisExceptionHandler(); |
| | | } |
| | | |
| | | /** |
| | | * redis集群配置 yml |
| | | * |
| | | * --- # redis 集群配置(单机与集群只能开启一个另一个需要注释掉) |