com.jn.agileway.redis.counter.DistributedCounter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agileway-redis Show documentation
Show all versions of agileway-redis Show documentation
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
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