类 ParserRedisUtil

java.lang.Object
com.sh.wf.module.parser.ParserRedisUtil

public class ParserRedisUtil extends Object

Description: 解析redis中的值

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2019-08-09
  • 字段详细资料

  • 构造器详细资料

    • ParserRedisUtil

      public ParserRedisUtil()
  • 方法详细资料

    • parserRedis

      public static String parserRedis(ModuleContext context, String str)
      从redis中获取值
      参数:
      context - 上下文
      str - 待解析字符串${redis.method(defaultValue)}中的method(args)部分
      返回:
      String
    • putValue

      protected static String putValue(ModuleContext context, List<String> argsList)
      [redis.putValue(key,value,seconds)]
      参数:
      context -
      argsList -
      返回:
    • putHashValue

      protected static String putHashValue(ModuleContext context, List<String> argsList)
      [redis.putHashValue(key,field,value)]
      参数:
      context -
      argsList -
      返回:
    • getValue

      protected static String getValue(ModuleContext context, List<String> argsList)
      [redis.getValue(key,defaultValue)]
      参数:
      context -
      argsList -
      返回:
    • getHashValue

      protected static String getHashValue(ModuleContext context, List<String> argsList)
      [redis.getHashValue(key,field,default)]
      参数:
      context -
      argsList -
      返回:
    • remove

      protected static String remove(ModuleContext context, List<String> argsList)
      [redis.remove(key)]
      参数:
      context -
      argsList -
      返回:
    • removeHash

      protected static String removeHash(ModuleContext context, List<String> argsList)
      [redis.removeHash(key,field)]
      参数:
      context -
      argsList -
      返回: