@GetMapping("/getMyCacheable")
@MyCacheable(cacheName = "mycache", key = "#key+'_'+#hkey", expire = 1000, timeUnit = TimeUnit.SECONDS)
public ApiResult getMyCacheable(@RequestParam("key") String key, @RequestParam("hkey") String hkey) {
System.out.println("key----->test");
return ApiResult.ok(key);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Pamgo/my-redisson-parent
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
自定义redisson缓存
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published