public abstract class AbstractExecutionResultHandler extends Object implements ExecutionResultHandler
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
AbstractExecutionResultHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onThrowable(Throwable t,
OutputCollector collector,
List<Tuple> tl)
Default method used to handle any type of exception.
|
void |
onThrowable(Throwable t,
OutputCollector collector,
Tuple i)
Default method used to handle any type of exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onQuerySuccess, onQueryValidationException, onReadTimeoutException, onUnavailableException, onWriteTimeoutException
public void onThrowable(Throwable t, OutputCollector collector, Tuple i)
ExecutionResultHandler
onThrowable
in interface ExecutionResultHandler
t
- the thrown exceptioncollector
- the storm collector.i
- an input tuple.public void onThrowable(Throwable t, OutputCollector collector, List<Tuple> tl)
ExecutionResultHandler
onThrowable
in interface ExecutionResultHandler
t
- the thrown exceptioncollector
- the storm collector.tl
- a list of input tuple.Copyright © 2023 The Apache Software Foundation. All rights reserved.