All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jn.agileway.redis.counter.DistributedCounter Maven / Gradle / Ivy

Go to download

Provides a large number of convenient redis tools: distributed locks, distributed count, distributed cache, distributed id generator, jdk collection implements, the enhanced RedisTemplate based on a specified key prefix and the agileway-codec module

There is a newer version: 3.1.12
Show newest version
package com.jn.agileway.redis.counter;

import com.jn.agileway.redis.core.RedisTemplate;
import com.jn.langx.util.struct.counter.Counter;

public interface DistributedCounter extends Counter {
    void clear();

    RedisTemplate getRedisTemplate();

    void setRedisTemplate(RedisTemplate redisTemplate);

    String getCounterKey();

    void setCounterKey(String key);

    String getKey();

    void setKey(String key);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy