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 |
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.
|
void |
PartialKeyGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
Modifier and Type | Method and Description |
---|---|
void |
BaseWorkerHook.start(Map<String,Object> topoConf,
WorkerTopologyContext context)
This method is called when a worker is started.
|
void |
IWorkerHook.start(Map<String,Object> topoConf,
WorkerTopologyContext context)
This method is called when a worker is started.
|
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.Counter |
StormMetricRegistry.counter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
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,
StormMetricRegistry metricRegistry) |
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 |
GlobalGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targets) |
void |
IndexHashGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> targetTasks) |
void |
IdentityGrouping.prepare(WorkerTopologyContext context,
GlobalStreamId stream,
List<Integer> tasks) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.