类 RedisController
java.lang.Object
plus.hiver.module.system.controller.RedisController
@RestController
@RequestMapping("/hiver/redis")
@Transactional
public class RedisController
extends Object
Redis缓存管理接口
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明plus.hiver.common.api.ResultdelAll()plus.hiver.common.api.Resultplus.hiver.common.api.Result<org.springframework.data.domain.Page<RedisVo>>getAllByPage(String key, plus.hiver.common.vo.PageVo pageVo) plus.hiver.common.api.Resultplus.hiver.common.api.Resultplus.hiver.common.api.Resultplus.hiver.common.api.Resultinfo()plus.hiver.common.api.Result
-
构造器详细资料
-
RedisController
public RedisController()
-
-
方法详细资料
-
getAllByPage
-
getByKey
@GetMapping("/getByKey/{key}") public plus.hiver.common.api.Result getByKey(@PathVariable String key) -
save
-
delByKeys
@PostMapping("/delByKeys") public plus.hiver.common.api.Result delByKeys(@RequestParam String[] keys) -
delAll
@PostMapping("/delAll") public plus.hiver.common.api.Result delAll() -
getKeySize
@GetMapping("/getKeySize") public plus.hiver.common.api.Result getKeySize() -
getMemory
@GetMapping("/getMemory") public plus.hiver.common.api.Result getMemory() -
info
@GetMapping("/info") public plus.hiver.common.api.Result info()
-