模块 org.redkale

类 CacheMemorySource.RateLimitEntry

    • 构造器详细资料

      • RateLimitEntry

        public RateLimitEntry​(String key,
                              long tokens)
    • 方法详细资料

      • isExpired

        public boolean isExpired​(long now)
      • lock

        public void lock()
      • unlock

        public void unlock()
      • getExpireMills

        public long getExpireMills()
      • getLastAccessed

        public long getLastAccessed()
      • getKey

        public String getKey()