类 CacheCounterController


  • @RestController
    @RequestMapping("/cache/counter")
    public class CacheCounterController
    extends java.lang.Object
    计数器的接口
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      long getNextCounter​(java.lang.String key)  
      cn.flyelf.cache.core.model.CacheTestModel getObj()  
      void putNull()  
      • 从类继承的方法 java.lang.Object

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

      • CacheCounterController

        public CacheCounterController()
    • 方法详细资料

      • getNextCounter

        @GetMapping("/next/{key}")
        public long getNextCounter​(@PathVariable("key")
                                   java.lang.String key)
      • putNull

        @GetMapping("/tpl/put")
        public void putNull()
      • getObj

        @GetMapping("/tpl/get")
        public cn.flyelf.cache.core.model.CacheTestModel getObj()