Tags: Ahoo-Wang/CoCache
Tags
test(cocache-spring-cache): add clear method test case for CoherentCache - Implement a test case for clearing CoherentCache in CoSpringCache - Add mockk and every imports for mocking CoherentCache - Include a test case for retrieve with a non-existent key Signed-off-by: Ahoo Wang <ahoowang@qq.com>
test(cache): add default cache convert test for Caffeine and Guava - Add test cases to verify default cache conversion for Caffeine and Guava - Implement `defaultCacheConvert` function in both CaffeineCacheTest and GuavaCacheTest - Use `assert` to check if the converted cache is not null Signed-off-by: Ahoo Wang <ahoowang@qq.com>
feat(core): support KType for cache generics (#362) * feat(core): support KType for cache generics - Update CacheFactory interface to use KType instead of Class for key and value types - Modify CoCacheMetadata and JoinCacheMetadata to use KType for type information - Update related parsers and tests to work with KType - Adjust Spring-specific classes to handle KType instead of Class Signed-off-by: Ahoo Wang <ahoowang@qq.com> * refactor(cocache): update dependencies and remove experimental stdlib opt-in - Change kotlin("reflect") from implementation to api in cocache-core - Remove @OptIn(ExperimentalStdlibApi::class) annotations - Update import from kotlin.reflect to kotlin.reflect.jvm Signed-off-by: Ahoo Wang <ahoowang@qq.com> --------- Signed-off-by: Ahoo Wang <ahoowang@qq.com>
feat(cache): register cache metadata as bean and enhance client-side … …cache customization (#339) - Register cache metadata as a bean in the application context - Update client-side cache customization to use cache metadata - Add test to verify cache metadata bean registration Signed-off-by: Ahoo Wang <ahoowang@qq.com>
PreviousNext