use of hry.redis.common.utils.RedisService in project benchmark by seelunzi.
the class PushData method pushNewListRecordMarketnewAdd.
/* */
/* */
public static void pushNewListRecordMarketnewAdd(String pustdata, String currencyType) {
/* 100 */
String key = currencyType + ":pushNewListRecordMarketnewAdd";
/* 101 */
RedisService redisService = (RedisService) ContextUtil.getBean("redisService");
/* 102 */
if (!"".equals(pustdata)) {
/* 103 */
redisService.save(key, pustdata);
/* */
}
/* */
}
use of hry.redis.common.utils.RedisService in project benchmark by seelunzi.
the class PushData method pushEntrust.
/* */
/* */
public static void pushEntrust(String pustdata, String currencyType) /* */
{
/* 19 */
String key = currencyType + ":pushEntrust";
/* 20 */
RedisService redisService = (RedisService) ContextUtil.getBean("redisService");
/* 21 */
String preData = redisService.get(key);
/* 22 */
if ((null == preData) || (!preData.equals(pustdata))) {
/* 23 */
redisService.save(key, pustdata);
/* */
}
/* */
}
use of hry.redis.common.utils.RedisService in project benchmark by seelunzi.
the class PushData method pushNewListRecordMarketDesc.
/* */
/* */
public static void pushNewListRecordMarketDesc(String pustdata, String header) {
/* 94 */
String key = header + ":pushNewListRecordMarketDesc";
/* 95 */
RedisService redisService = (RedisService) ContextUtil.getBean("redisService");
/* 96 */
redisService.save(key, pustdata);
/* */
}
use of hry.redis.common.utils.RedisService in project benchmark by seelunzi.
the class PushData method pushEntrusMarket.
/* */
/* */
/* */
/* */
public static void pushEntrusMarket(String pustdata, String header) /* */
{
/* 50 */
String key = header + ":pushEntrusMarket";
/* 51 */
RedisService redisService = (RedisService) ContextUtil.getBean("redisService");
/* 52 */
String preData = redisService.get(key);
/* 53 */
if ((null == preData) || (!preData.equals(pustdata))) {
/* 54 */
redisService.save(key, pustdata);
/* */
}
/* */
}
Aggregations