9899100101102103104
public BoltDeclarer setBolt(String id, IBasicBolt bolt) { return setBolt(id, bolt, null); } public BoltDeclarer setBolt(String id, IBasicBolt bolt, Integer parallelism) { return setBolt(id, new BasicBoltExecutor(bolt), parallelism, false); }
22232425262728
public KeyedFairBolt(IRichBolt delegate) { _delegate = delegate; } public KeyedFairBolt(IBasicBolt delegate) { this(new BasicBoltExecutor(delegate)); }
56575859606162
public LinearDRPCInputDeclarer addBolt(IRichBolt bolt) { return addBolt(bolt, 1); } public LinearDRPCInputDeclarer addBolt(IBasicBolt bolt, int parallelism) { return addBolt(new BasicBoltExecutor(bolt), parallelism); }
39404142434445
74757677787980
public LinearDRPCInputDeclarer addBolt(IRichBolt bolt) { return addBolt(bolt, null); } public LinearDRPCInputDeclarer addBolt(IBasicBolt bolt, Number parallelism) { return addBolt(new BasicBoltExecutor(bolt), parallelism); }
4243444546474849
Component _masterBolt; String _masterId; public BatchSubtopologyBuilder(String masterBoltId, IBasicBolt masterBolt, Number boltParallelism) { Integer p = boltParallelism == null ? null : boltParallelism.intValue(); _masterBolt = new Component(new BasicBoltExecutor(masterBolt), p); _masterId = masterBoltId; }
67686970717273
public BoltDeclarer setBolt(String id, IBasicBolt bolt) { return setBolt(id, bolt, null); } public BoltDeclarer setBolt(String id, IBasicBolt bolt, Number parallelism) { return setBolt(id, new BasicBoltExecutor(bolt), parallelism); }
114115116117118119120
public BoltDeclarer setBolt(String id, IBasicBolt bolt) { return setBolt(id, bolt, null); } public BoltDeclarer setBolt(String id, IBasicBolt bolt, Number parallelism) { return setBolt(id, new BasicBoltExecutor(bolt), parallelism, false); }
111112113114115116117
21222324252627