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

me.chanjar.weixin.common.redis.BaseWxRedisOps Maven / Gradle / Ivy

There is a newer version: 4.6.9.B
Show newest version
package me.chanjar.weixin.common.redis;

import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;

/**
 * 微信redis操作基本类
 * 

* 非内置实现redis相关操作, 请实现该类 */ public abstract class BaseWxRedisOps implements WxRedisOps { @Override public String getValue(String key) { throw new UnsupportedOperationException(); } @Override public void setValue(String key, String value, int expire, TimeUnit timeUnit) { throw new UnsupportedOperationException(); } @Override public Long getExpire(String key) { throw new UnsupportedOperationException(); } @Override public void expire(String key, int expire, TimeUnit timeUnit) { throw new UnsupportedOperationException(); } @Override public Lock getLock(String key) { throw new UnsupportedOperationException(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy