Commit Graph
48 Commits
Author SHA1 Message Date
liugang 70b40dab3d * [refac] fix error generate affected keys. 2024-11-20 15:42:49 +08:00
liugang 8d5b8a28da - [refac] the affected object could be empty. 2024-11-20 15:42:49 +08:00
liugang 7954ef14e4 * [refac] fix error when the sql doesn't have where condition. 2024-11-20 15:42:49 +08:00
liugang 3dcd4cde2e + [refac] reset where condition to empty. 2024-11-20 15:42:49 +08:00
liugang 37d7879cf6 + [refac] select database after connected to redis server. 2024-11-20 15:42:49 +08:00
liugang 335d4e23bf * [refac] if not all data in cache, get the missing data from the database. 2024-11-20 15:42:49 +08:00
liugang 9c100fa04d * [refac] refactor cache library. 2024-11-20 15:42:49 +08:00
liugang 35b0b699aa * [refac] add method to create cache key. 2024-11-20 15:42:49 +08:00
liugang e55458ac98 * [refac] optimize ttl parameter. 2024-11-20 15:42:49 +08:00
liugang 77a2984c38 * [refac] user can set expiration of cache. 2024-11-20 15:42:49 +08:00
liugang 2e20324fe6 + [refac] close cache connection when program is shutdown. 2024-11-20 15:42:49 +08:00
liugang ccc5d3a888 + [refac] check if the label already used. 2024-11-20 15:42:49 +08:00
liugang a5be156308 * [refac] optimize error message. 2024-11-20 15:42:49 +08:00
liugang 5fea836c6e * [refac] fix class not found error. 2024-11-20 15:42:49 +08:00
liugang 14a0088b97 * [refac] return result of the method who cleared the cache. 2024-11-20 15:42:49 +08:00
liugang 4ff19d7ef3 * [refac] add namespace to resolve class name conflicts. 2024-11-20 15:42:49 +08:00
liugang 871637c2af * [refac] fix error. 2024-11-20 15:42:49 +08:00
liugang b6fe5f9318 * [refac] calling method in helper class to connect redis server. 2024-11-20 15:42:49 +08:00
liugang b0e0090809 + [refac] add method to get memory usage. 2024-11-20 15:42:49 +08:00
liugang c36e3e807c * [refac] add method to clear cache. 2024-11-20 15:42:49 +08:00
朱金勇 f1bb5c856f * [misc] Select into for cache. 2024-11-20 15:42:49 +08:00
liugang 0637346f85 + [refac] add method to clear cache. 2024-11-20 15:42:49 +08:00
liugang 4a01690b1e * [refac] simplify apcu driver class and redis driver class. 2024-11-20 15:42:49 +08:00
liugang ca997cd1c4 * [refac] add namespace and connector. 2024-11-20 15:42:49 +08:00
liugang f3c6734ae6 * [refac] set serializer of php redis. 2024-11-20 15:42:49 +08:00
liugang 61c1ad11ba * [refac] rename redis to cache. 2024-11-20 15:42:49 +08:00
liugang 06f71d7376 * [refac] fetch data of specified id list from cache. 2024-11-20 15:42:49 +08:00
liugang a3910b7afd + [refac] add method to get the data of the specified table and id from the cache. 2024-11-20 15:42:49 +08:00
liugang 2bf184edff * [refac] add method to get cache key. 2024-11-20 15:42:49 +08:00
liugang 732e342ca6 + [refac] initialize the cache of the specified table. 2024-11-20 15:42:49 +08:00
liugang 125e75249f * [refac] add method to connect redis server. 2024-11-20 15:42:49 +08:00
liugang 9ac773bade + [refac] add cache class to manage cache. 2024-11-20 15:42:49 +08:00
朱金勇 e530add989 * [perf] rename cache to mao 2024-11-20 15:42:49 +08:00
朱金勇 aa5528372b + [perf] Add redis cache class. 2024-11-20 15:42:49 +08:00
dingguodong 602fb54d68 * [task#121999] Adjust the comments. 2024-06-28 16:59:08 +08:00
dingguodong 49c9db937d * [task#121999] Flush redis db without deleting session keys. 2024-06-28 16:59:08 +08:00
dingguodong 341925be90 * [task#121999] Reformat code. 2024-06-28 16:59:08 +08:00
dingguodong c8438e8c43 + [task#121999] Add the redis cache driver. 2024-06-28 16:59:08 +08:00
dingguodong 2dbbf4704e + [task#121999] Add the redis cache driver. 2024-06-28 16:59:08 +08:00
Lufei cf5b5ea572 - Remove return type. 2023-06-26 17:00:01 +08:00
Lufei 9de92404d3 - Remove CacheException for fileDriver. 2023-06-05 14:21:48 +08:00
Lufei 9bac1239d1 * Optimize cache class. 2023-06-02 15:41:35 +08:00
鲁飞 5d14691c01 * Fix missing md5 for cache file. 2023-06-02 11:25:57 +08:00
Lufei bee459afd9 * Fix cache ttl error. 2023-06-02 11:21:59 +08:00
鲁飞 74a22606bf * Fix typo. 2023-06-01 10:03:27 +08:00
Lufei 020d72d2c5 * Add create method for cache. 2023-05-05 16:35:26 +08:00
Lufei 0f7204388c + Support file cache. 2023-05-04 19:29:40 +08:00
鲁飞 c93d138a83 + Support Apcu and Yac cache driver. 2023-02-22 06:20:00 +00:00