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 |
---|---|
static WorkerTopologyContext |
StormCommon.makeWorkerContext(Map<String,Object> workerData) |
Modifier and Type | Method and Description |
---|---|
static LoadAwareCustomStreamGrouping |
GrouperFactory.mkGrouper(WorkerTopologyContext context,
String componentId,
String streamId,
Fields outFields,
Grouping thriftGrouping,
List<Integer> unsortedTargetTasks,
Map<String,Object> topoConf) |
void |
GrouperFactory.BasicLoadAwareCustomStreamGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
GrouperFactory.FieldsGrouper.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
GrouperFactory.GlobalGrouper.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
GrouperFactory.NoneGrouper.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
GrouperFactory.AllGrouper.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
Modifier and Type | Method and Description |
---|---|
WorkerTopologyContext |
WorkerState.getWorkerTopologyContext() |
Modifier and Type | Field and Description |
---|---|
protected WorkerTopologyContext |
Executor.workerTopologyContext |
Modifier and Type | Method and Description |
---|---|
WorkerTopologyContext |
Executor.getWorkerTopologyContext() |
Constructor and Description |
---|
ReportError(Map<String,Object> topoConf,
IStormClusterState stormClusterState,
String stormId,
String componentId,
WorkerTopologyContext workerTopologyContext) |
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<String,Object> topoConf,
WorkerTopologyContext context)
This method is called when a worker is started
|
void |
BaseWorkerHook.start(Map<String,Object> topoConf,
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.