类 CacheBothController


  • @RestController
    @RequestMapping("/cache/both")
    public class CacheBothController
    extends java.lang.Object
    应用所有缓存层的缓存接口
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      reactor.core.publisher.Flux<cn.flyelf.cache.core.model.CacheTestModel> getBothList​(java.lang.String key)  
      reactor.core.publisher.Mono<cn.flyelf.cache.core.model.CacheTestModel> getBothSimple​(java.lang.String key)  
      reactor.core.publisher.Flux<cn.flyelf.cache.core.model.CacheTestModel> putBothList​(java.lang.String key, long[] id, java.lang.String[] name, java.lang.Integer[] index, java.lang.Long duration)  
      reactor.core.publisher.Mono<java.lang.Boolean> putBothSimple​(java.lang.String key, long id, java.lang.String name, java.lang.Integer index)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • CacheBothController

        public CacheBothController()
    • 方法详细资料

      • putBothList

        @GetMapping("/list/put/{key}")
        public reactor.core.publisher.Flux<cn.flyelf.cache.core.model.CacheTestModel> putBothList​(@PathVariable("key")
                                                                                                  java.lang.String key,
                                                                                                  @RequestParam("id")
                                                                                                  long[] id,
                                                                                                  @RequestParam("name")
                                                                                                  java.lang.String[] name,
                                                                                                  @RequestParam("index")
                                                                                                  java.lang.Integer[] index,
                                                                                                  @RequestParam(value="duration",required=false)
                                                                                                  java.lang.Long duration)
      • getBothList

        @GetMapping("/list/get/{key}")
        public reactor.core.publisher.Flux<cn.flyelf.cache.core.model.CacheTestModel> getBothList​(@PathVariable("key")
                                                                                                  java.lang.String key)
      • putBothSimple

        @GetMapping("/simple/put/{key}")
        public reactor.core.publisher.Mono<java.lang.Boolean> putBothSimple​(@PathVariable("key")
                                                                            java.lang.String key,
                                                                            @RequestParam("id")
                                                                            long id,
                                                                            @RequestParam("name")
                                                                            java.lang.String name,
                                                                            @RequestParam("index")
                                                                            java.lang.Integer index)
      • getBothSimple

        @GetMapping("/simple/get/{key}")
        public reactor.core.publisher.Mono<cn.flyelf.cache.core.model.CacheTestModel> getBothSimple​(@PathVariable("key")
                                                                                                    java.lang.String key)