public class BatchSubtopologyBuilder extends Object
Constructor and Description |
---|
BatchSubtopologyBuilder(String masterBoltId,
IBasicBolt masterBolt) |
BatchSubtopologyBuilder(String masterBoltId,
IBasicBolt masterBolt,
Number boltParallelism) |
Modifier and Type | Method and Description |
---|---|
void |
extendTopology(TopologyBuilder builder) |
BoltDeclarer |
getMasterDeclarer() |
BoltDeclarer |
setBolt(String id,
IBasicBolt bolt) |
BoltDeclarer |
setBolt(String id,
IBasicBolt bolt,
Number parallelism) |
BoltDeclarer |
setBolt(String id,
IBatchBolt bolt) |
BoltDeclarer |
setBolt(String id,
IBatchBolt bolt,
Number parallelism) |
public BatchSubtopologyBuilder(String masterBoltId, IBasicBolt masterBolt, Number boltParallelism)
public BatchSubtopologyBuilder(String masterBoltId, IBasicBolt masterBolt)
public BoltDeclarer getMasterDeclarer()
public BoltDeclarer setBolt(String id, IBatchBolt bolt)
public BoltDeclarer setBolt(String id, IBatchBolt bolt, Number parallelism)
public BoltDeclarer setBolt(String id, IBasicBolt bolt)
public BoltDeclarer setBolt(String id, IBasicBolt bolt, Number parallelism)
public void extendTopology(TopologyBuilder builder)
Copyright © 2022 The Apache Software Foundation. All rights reserved.