类 ParserRedisUtil
java.lang.Object
com.sh.wf.module.parser.ParserRedisUtil
Description: 解析redis中的值
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2019-08-09
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected static StringgetHashValue(ModuleContext context, List<String> argsList) [redis.getHashValue(key,field,default)]protected static StringgetValue(ModuleContext context, List<String> argsList) [redis.getValue(key,defaultValue)]static StringparserRedis(ModuleContext context, String str) 从redis中获取值protected static StringputHashValue(ModuleContext context, List<String> argsList) [redis.putHashValue(key,field,value)]protected static StringputValue(ModuleContext context, List<String> argsList) [redis.putValue(key,value,seconds)]protected static Stringremove(ModuleContext context, List<String> argsList) [redis.remove(key)]protected static StringremoveHash(ModuleContext context, List<String> argsList) [redis.removeHash(key,field)]
-
字段详细资料
-
REDIS
- 另请参阅:
-
-
构造器详细资料
-
ParserRedisUtil
public ParserRedisUtil()
-
-
方法详细资料
-
parserRedis
从redis中获取值- 参数:
context- 上下文str- 待解析字符串${redis.method(defaultValue)}中的method(args)部分- 返回:
- String
-
putValue
[redis.putValue(key,value,seconds)]- 参数:
context-argsList-- 返回:
-
putHashValue
[redis.putHashValue(key,field,value)]- 参数:
context-argsList-- 返回:
-
getValue
[redis.getValue(key,defaultValue)]- 参数:
context-argsList-- 返回:
-
getHashValue
[redis.getHashValue(key,field,default)]- 参数:
context-argsList-- 返回:
-
remove
[redis.remove(key)]- 参数:
context-argsList-- 返回:
-
removeHash
[redis.removeHash(key,field)]- 参数:
context-argsList-- 返回:
-