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

com.jeesuite.mybatis.plugin.cache.CacheProvider Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/**
 * 
 */
package com.jeesuite.mybatis.plugin.cache;

import java.io.Closeable;

/**
 * @description 
* @author vakin * @date 2016年3月23日 * @Copyright (c) 2015, jwww */ public interface CacheProvider extends Closeable{ T get(String key); String getStr(String key); boolean set(String key,Object value,long expireSeconds); boolean setStr(String key,Object value,long expireSeconds); boolean remove(String key); boolean exists(String key); void putGroup(String cacheGroupKey,String key); void clearGroup(String groupName,String ...prefixs); void addZsetValue(String key,String value,double score); boolean existZsetValue(String key,String value); boolean removeZsetValue(String key,String value); boolean removeZsetValues(String key,double minScore, double maxScore); boolean setnx(String key,String value,long expireSeconds); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy