Package backtype.storm.topology

Examples of backtype.storm.topology.BasicBoltExecutor


  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;
  }
View Full Code Here


  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);
  }
View Full Code Here

  public LinearDRPCInputDeclarer addBolt(IRichBolt bolt) {
    return addBolt(bolt, null);
  }

  public LinearDRPCInputDeclarer addBolt(IBasicBolt bolt, Number parallelism) {
    return addBolt(new BasicBoltExecutor(bolt), parallelism);
  }
View Full Code Here

TOP

Related Classes of backtype.storm.topology.BasicBoltExecutor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.