Skip to content

Pamgo/my-redisson-parent

Repository files navigation

my-redisson-parent

1、myredisson 自定义redisson缓存 @MyCacheable使用

    @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);
    }

2、myZookeeper-project-test分布式锁简单应用

About

自定义redisson缓存

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages