Commit c54e80bc by huangfusuper

··

parent 7d155d2a
...@@ -47,7 +47,7 @@ public class LogGobbler extends Thread { ...@@ -47,7 +47,7 @@ public class LogGobbler extends Thread {
//stringRedisTemplate.convertAndSend(runKey, JSON.toJSONString(runLog, WriteClassName)) //stringRedisTemplate.convertAndSend(runKey, JSON.toJSONString(runLog, WriteClassName))
//TODO 向队列队尾插入一个值 //TODO 向队列队尾插入一个值
Long aLong = stringRedisTemplate.opsForList().rightPush(runKey, JSON.toJSONString(runLog, WriteClassName)); Long aLong = stringRedisTemplate.opsForList().rightPush(runKey, JSON.toJSONString(runLog, WriteClassName));
log.info("-------{}:{}-------",String.valueOf(aLong),JSON.toJSONString(runLog, WriteClassName)); log.info("-------{}-------",aLong);
printLog(line); printLog(line);
} }
} catch (final IOException e) { } catch (final IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment