public abstract class RedisBatchImp extends RedisBaseImp implements CacheBatchInterface
| 限定符和类型 | 字段和说明 |
|---|---|
private static org.slf4j.Logger |
LOGGER |
dbIndex, redisTemplateHEADDEFALUTHEAD, DEFALUTSECRET, DEFALUTTIME| 构造器和说明 |
|---|
RedisBatchImp() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
deleteCacheData(List<String> key) |
String |
getFromMap(String redisKey,
String mapKey) |
Object |
getHeap(String redisKey) |
List |
getList(String redisKey) |
List |
getList(String redisKey,
Integer start,
Integer end) |
Object |
getListValue(String redisKey,
Integer index) |
Map<String,String> |
getMap(String redisKey) |
Long |
getSize(String redisKey) |
Object |
getStack(String redisKey) |
boolean |
insertAfterIndex(String redisKey,
Object index,
Object value) |
boolean |
insertBefourIndex(String redisKey,
Object index,
Object value) |
void |
putToMap(String redisKey,
String key,
String value) |
boolean |
remove(String redisKey,
Object value) |
boolean |
setList(String redisKey,
Integer index,
Object args) |
boolean |
setList(String redisKey,
List args) |
boolean |
setList(String redisKey,
Object... args) |
boolean |
setMap(String redisKey,
Map<String,String> args) |
clear, deleteCacheData, exists, getCacheData, getCacheTData, getLock, init, releaseLock, selectDb, setCacheObjectData, setCacheObjectData, setCacheObjectData, setCacheObjectData, setRedisTemplate, tryLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteCacheDatapublic boolean deleteCacheData(List<String> key) throws cn.dyaoming.errors.AppDaoException
public boolean setList(String redisKey, List args) throws cn.dyaoming.errors.AppDaoException
public boolean setList(String redisKey, Object... args) throws cn.dyaoming.errors.AppDaoException
public boolean setList(String redisKey, Integer index, Object args) throws cn.dyaoming.errors.AppDaoException
public boolean insertBefourIndex(String redisKey, Object index, Object value) throws cn.dyaoming.errors.AppDaoException
public boolean insertAfterIndex(String redisKey, Object index, Object value) throws cn.dyaoming.errors.AppDaoException
public Object getListValue(String redisKey, Integer index) throws cn.dyaoming.errors.AppDaoException
public List getList(String redisKey, Integer start, Integer end) throws cn.dyaoming.errors.AppDaoException
public boolean remove(String redisKey, Object value) throws cn.dyaoming.errors.AppDaoException
public boolean setMap(String redisKey, Map<String,String> args) throws cn.dyaoming.errors.AppDaoException
public String getFromMap(String redisKey, String mapKey) throws cn.dyaoming.errors.AppDaoException
Copyright © 2020. All rights reserved.