|
f414802c63
|
[Add] CacheStore-Redis 添加指定前缀键名删除脚本, 以提供带有原子性的 RedisCacheStore.clear 操作;
[Add] RemoveKeysByPrefix.lua 添加用于实现 RedisCacheStore.clear 操作的脚本;
|
2021-01-16 01:43:00 +08:00 |
|
|
92175377c4
|
[Add][Change][Fix] CacheStore-Redis 完善整体单元测试项, 修复单元测试不够严谨的问题;
[Add] RedisTestUtils 增加 Redis 测试工具类;
[Add] RedisUtilsTest 增加针对 RedisUtils 的单元测试类;
[Add] SimpleRedisCacheStore, RedisCacheStoreTest 将 RedisCacheStore 的测试项从 RedisSingleCacheStore 单元测试中分离;
[Change] RedisCacheStore 分离 'getKeyString(CacheKey)' 方法的具体实现到 RedisUtils;
[Change] RedisSingleCacheStore 调整构造器参数检查过程, 排除空标识或 null 参数;
[Change] RedisSingleCacheStoreTest 重写 RedisSingleCacheStore 单元测试类, 使其更加严谨;
[Change] RedisMapCacheStore 优化 'clearMap()' 方法执行过程, 清除不可能分支, 调整构造器参数检查过程, 排除空标识或 null 参数;
[Change] RedisMapCacheStoreTest 优化测试项, 使其更加严谨;
[Change] RedisListCacheStore 优化文档内容, 清除不可能分支;
[Change] RedisListCacheStoreTest 补充断言消息;
[Fix] RedisCacheStore 修复了 'keySet()' 方法中返回的 key 不正确的问题;
|
2021-01-16 01:26:31 +08:00 |
|
|
997b942a27
|
[Change] CacheStore-Redis 调整通配符常量的引用;
[Change] RedisUtils 调整 'CACHE_KEY_ALL' 的通配符为 'KEY_PATTERN_ALL';
|
2021-01-15 20:20:02 +08:00 |
|
|
48404fc0fc
|
[Change] CacheStore-Redis 使用 Json 代替 Properties 作为 Redis 连接配置的存储格式;
[Add] RedisConnectionProperties 添加 Redis 连接配置对象;
[Change] RedisConnectionPool 调整 JedisPool 配置读取来源的类型(URL -> RedisConnectionProperties);
[Change] RedisCacheStoreFactory 更改 Redis 连接配置的读取形式;
[Add] RedisUtils 添加 'PROPERTIES_FILE_NAME' 常量;
[Add] com.google.code.gson:gson 添加 Gson 依赖项, 以转换 Json 为 RedisConnectionProperties 对象;
|
2021-01-15 20:18:20 +08:00 |
|
|
a090abc9a4
|
[Change] CacheStore-API, CacheStore-Local, CacheStore-Redis 调整 MapCacheStore.putAll 方法参数;
[Change] MapCacheStore 调整 'putAll' 方法的泛型, 以兼容类型的子类;
[Change] HashMapCacheStore, RedisMapCacheStore 适配更改;
|
2021-01-12 06:39:48 +08:00 |
|
|
8108379f96
|
[Change] CacheStore-Redis 迁移工具方法到 RedisUtils;
[Change] RedisCacheStore, RedisUtils 迁移 'getKeyString(CacheKey)' 方法的具体实现到 RedisUtils (方法: 'toRedisCacheKey(String, CacheKey)');
[Add] RedisUtils 添加 CACHE_KEY_ALL 以构建对 CacheStore 所有 Key 的匹配规则;
|
2021-01-11 16:44:22 +08:00 |
|
|
a6fc04c07e
|
[Fix] CacheStore-Redis 修复 RedisCacheStore 部分操作对于作用 Key 的范围不明确的问题;
[Fix] RedisCacheStore 修复 'clear()', 'keySet()' 和 'size()' 方法影响到不属于 CacheStore 的问题;
[Update] RedisSingleCacheStoreTest 完善测试项;
|
2021-01-11 16:42:06 +08:00 |
|
|
2bdfbeb72d
|
[Fix] CacheStore-Redis 修复 'putAll' 因 Map 为空且检查疏漏导致抛出异常的问题, 完善测试项;
[Fix] RedisMapCacheStore 修复 'putAll' 因 Map 为空且检查疏漏导致抛出异常的问题;
[Update] RedisMapCacheStoreTest 调整测试用前缀, 完善 'putAll' 对空 Map 参数在不同情况下的测试;
|
2021-01-11 16:38:59 +08:00 |
|
|
8d9debeb1b
|
[Add] CacheStore-Redis 添加 List 组件;
[Add] RedisListCacheStore 添加完整的 List 组件;
[Add] RedisListCacheStoreTest 完整单元测试类;
[Update] RedisCacheStoreFactory 添加对 List 组件的提供;
|
2021-01-11 16:38:30 +08:00 |
|
|
752cf907d6
|
[Add] RedisConnectionPool 添加对 Lua 脚本的支持;
[Add] LuaScript 添加 Lua 脚本声明定义类;
[Add] RedisConnectionPool 添加对 Lua 脚本加载管理和执行的功能;
|
2021-01-11 16:37:50 +08:00 |
|
|
f1e76092a0
|
[Fix] CacheStore-Redis 修复 RemoveElementByIndex 脚本中对无效项判断的错误;
[Fix] RemoveElementByIndex.lua 修复范围溢出, 不存在键检查失效的问题;
|
2021-01-11 16:24:55 +08:00 |
|
|
074e71014a
|
[Fix] CacheStore-Redis 修复 RemoveElementByIndex 脚本返回值不统一的问题;
[Fix] RemoveElementByIndex.lua 修复失败返回值不统一的问题;
|
2021-01-03 11:28:52 +08:00 |
|
|
72ff066f5c
|
[Add] CacheStore-Redis 添加两个 Lua 操作脚本;
[Add] CheckElementContains.lua 添加用于检查 List 中是否含有某元素的脚本;
[Add] RemoveElementByIndex.lua 添加用于通过指定索引删除元素的脚本;
|
2021-01-02 22:50:34 +08:00 |
|
|
37689f7253
|
[Update][Fix] CacheStore-Redis 增加测试细节, 修复 RedisMap 中 'putAll()' 方法非空检查失败导致发生异常的问题;
[Update] RedisMapCacheStoreTest 增加对 'putAll()' 参数传递空 Map 的测试;
[Fix] RedisMapCacheStore 修复因条件错误导致未能准确排除空 Map 的问题;
|
2021-01-02 12:30:56 +08:00 |
|
|
0968c5c6af
|
[Update][Fix] ALL 修正版权信息, 更新年份;
[Update] * 更新年份;
[Fix] * 由 AGPLv3-Later 更新为 AGPLv3-Only;
2021, 新年快乐! (新的一年继续努力吧! :D)
|
2021-01-01 18:26:20 +08:00 |
|
|
1eee7d19c6
|
[Change] CacheStore-Redis 修复 RedisConnectionPool 为所有 Factory 共用而导致多实例情况下会出现连接错误的问题;
[Change] RedisConnectionPool 将该类从静态方法类转变为实例类;
[Change] RedisCacheStore, RedisMapCacheStore, RedisSingleCacheStore 引入 RedisConnectionPool 实例以进行具体操作;
[Change] RedisMapCacheStoreTest, RedisSingleCacheStoreTest 调整 CacheStore 实例的获取, 不再自行创建具体实现, 转为通过 Factory 创建实例;
[Change] RedisCacheStoreFactory 单独创建一个 RedisConnectionPool 以提供给通过 Factory 自身创建的 CacheStore 实现;
|
2020-11-06 20:08:46 +08:00 |
|
|
4a2337afd7
|
[Change] CacheStore-local, CacheStore-redis 适配 CacheStore-API 模块的更改;
[Change] LocalCacheStoreFactory 适配更改;
[Change] RedisCacheStoreFactory 适配更改, 增加 Redis 配置文件相关逻辑;
[Change] RedisConnectionPool 增加 Redis 连接配置功能;
|
2020-11-05 00:55:40 +08:00 |
|
|
c27d072e68
|
[Fix][Update] CacheStore-redis, Core 修复缓存组件的逻辑问题, 调整 Core 中对于 CacheStoreBuilder 的测试用例;
[Fix] CacheStoreBuilder 修复 Factory.canGetCacheStore 返回 false 被无视的问题;
[Fix] RedisConnectionPool 修复因变量未及时更新导致的逻辑异常;
[Update] CacheStoreBuilderTest 调整测试用例以更具体的检查获取的缓存实现类与预期是否相同;
|
2020-10-06 10:28:45 +08:00 |
|
|
097c4a035c
|
[Update] CacheStore-local, CacheStore-redis 适配 CacheStore-api 的更改;
[Update] LocalCacheStoreFactory 根据 CacheStore-local 中实现的特性, 设置 Factory 注解中 source 参数;
[Update] RedisCacheStoreFactory 根据 CacheStore-redis 中实现的特性, 设置 Factory 注解中 source 参数;
|
2020-10-01 01:02:02 +08:00 |
|
|
1643891166
|
[Change] CacheStore-redis 调整内部类 RedisConnectionPool 的访问修饰符;
[Change] RedisConnectionPool 调整访问修饰符(public -> default);
|
2020-09-29 10:11:11 +08:00 |
|
|
4d8e0af7a5
|
[Change] CacheStore-redis 调整 Factory 对获取尚未完成组件的反馈方式;
[Change] RedisCacheStoreFactory 调整 List 和 Set 的行为(返回 null 改为抛出异常);
|
2020-09-23 13:53:41 +08:00 |
|
|
c856d94384
|
[Add][Update] CacheStore-redis 添加 Redis 缓存存储容器的实现模块;
[Add] META-INF/services/* 支持 SPI 机制;
[Add] RedisCacheStore, RedisCacheStoreFactory, RedisConnectionPool, RedisUtils 添加相关父类和辅助类;
[Add] RedisMapCacheStore, RedisMapCacheStoreTest 添加映射表缓存相关实现及完整单元测试;
[Add] RedisSingleCacheStore, RedisSingleCacheStoreTest 添加单项缓存相关实现及完整单元测试;
[Update] redis.clients:jedis 更新依赖项版本(3.2.0 -> 3.3.0);
|
2020-09-12 03:15:37 +08:00 |
|