コード例 #1
0
 @Override
 public void prepare(Map stormConf, TopologyContext context) {
   super.prepare(stormConf, context);
 }
 @Override
 public void prepare(Map stormConf, TopologyContext context) {
   jedis = new Jedis(redisHost, redisPort, 1800);
   jedis.connect();
   super.prepare(stormConf, context);
 }