public class LocalSubmitter extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
LocalSubmitter(org.apache.storm.LocalDRPC drpc,
org.apache.storm.LocalCluster cluster) |
LocalSubmitter(StormTopology topology,
org.apache.storm.LocalDRPC drpc,
org.apache.storm.LocalCluster cluster,
String name) |
Modifier and Type | Method and Description |
---|---|
static Config |
defaultConfig() |
static Config |
defaultConfig(boolean debug) |
org.apache.storm.LocalCluster |
getCluster() |
org.apache.storm.LocalDRPC |
getDrpc() |
void |
kill(String name) |
static LocalSubmitter |
newInstance() |
void |
printResults(int num,
int time,
TimeUnit unit)
Prints the DRPC results for the amount of time specified
|
void |
shutdown() |
void |
submit(String name,
Config config,
StormTopology topology) |
public LocalSubmitter(org.apache.storm.LocalDRPC drpc, org.apache.storm.LocalCluster cluster)
public LocalSubmitter(StormTopology topology, org.apache.storm.LocalDRPC drpc, org.apache.storm.LocalCluster cluster, String name)
public static LocalSubmitter newInstance()
public static Config defaultConfig()
public static Config defaultConfig(boolean debug)
public void submit(String name, Config config, StormTopology topology)
public void printResults(int num, int time, TimeUnit unit)
Prints the DRPC results for the amount of time specified
public void kill(String name)
public void shutdown()
public org.apache.storm.LocalDRPC getDrpc()
public org.apache.storm.LocalCluster getCluster()
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.