Modifier and Type | Method and Description |
---|---|
void |
Murmur3StreamGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks)
Tells the stream grouping at runtime the tasks in the target bolt.
|
Modifier and Type | Method and Description |
---|---|
void |
ShuffleGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
PartialKeyGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
LoadAwareShuffleGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
CustomStreamGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks)
Tells the stream grouping at runtime the tasks in the target bolt.
|
Modifier and Type | Method and Description |
---|---|
void |
IWorkerHook.start(Map stormConf,
WorkerTopologyContext context)
This method is called when a worker is started
|
void |
BaseWorkerHook.start(Map stormConf,
WorkerTopologyContext context)
This method is called when a worker is started
|
Modifier and Type | Method and Description |
---|---|
static com.codahale.metrics.Counter |
StormMetricRegistry.counter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
static com.codahale.metrics.Meter |
StormMetricRegistry.meter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
Constructor and Description |
---|
TaskMetrics(WorkerTopologyContext context,
String componentId,
Integer taskid) |
Modifier and Type | Class and Description |
---|---|
class |
TopologyContext
A
TopologyContext is given to bolts and spouts in their prepare() and open() methods, respectively. |
Modifier and Type | Method and Description |
---|---|
void |
NGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
Modifier and Type | Method and Description |
---|---|
void |
IndexHashGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
IdentityGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> tasks) |
void |
GlobalGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targets) |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.