类 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
  • 构造器详细资料

    • RedisController

      public RedisController()
  • 方法详细资料

    • getAllByPage

      @GetMapping("/getAllByPage") public plus.hiver.common.api.Result<org.springframework.data.domain.Page<RedisVo>> getAllByPage(@RequestParam(required=false) String key, plus.hiver.common.vo.PageVo pageVo)
    • getByKey

      @GetMapping("/getByKey/{key}") public plus.hiver.common.api.Result getByKey(@PathVariable String key)
    • save

      @PostMapping("/save") public plus.hiver.common.api.Result save(@RequestParam String key, @RequestParam String value, @RequestParam Long expireTime)
    • 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()