public static final class ExecutionResultCollector.SucceedCollector extends Object implements ExecutionResultCollector
ExecutionResultCollector.FailedCollector, ExecutionResultCollector.SucceedCollector
Constructor and Description |
---|
SucceedCollector(List<Tuple> inputs)
Creates a new
ExecutionResultCollector instance. |
SucceedCollector(Tuple input)
Creates a new
ExecutionResultCollector instance. |
Modifier and Type | Method and Description |
---|---|
void |
handle(OutputCollector collector,
ExecutionResultHandler handler)
Calls
ExecutionResultHandler.onQuerySuccess(org.apache.storm.task.OutputCollector, org.apache.storm.tuple.Tuple) before acknowledging an single input tuple. |
public SucceedCollector(Tuple input)
Creates a new ExecutionResultCollector
instance.
input
- the input tuple.public SucceedCollector(List<Tuple> inputs)
Creates a new ExecutionResultCollector
instance.
inputs
- the input tuple.public void handle(OutputCollector collector, ExecutionResultHandler handler)
Calls ExecutionResultHandler.onQuerySuccess(org.apache.storm.task.OutputCollector, org.apache.storm.tuple.Tuple)
before acknowledging an single input tuple.
handle
in interface ExecutionResultCollector
Copyright © 2019 The Apache Software Foundation. All rights reserved.