org.gcube.data.streams.handlers
Interface FaultHandler
- All Known Implementing Classes:
- CountingHandler, IgnoreHandler, RethrowHandler, RethrowUnrecoverableHandler, StopFastHandler, StopUnrecoverableHandler
public interface FaultHandler
Handlers of Stream iteration failures.
- Author:
- Fabio Simeoni
|
Method Summary |
void |
handle(RuntimeException failure)
Indicates whether iteration should continue or stop the iteration on the occurrence of an iteration failure. |
iteration
static final Iteration iteration
- The ongoing iteration.
handle
void handle(RuntimeException failure)
- Indicates whether iteration should continue or stop the iteration on the occurrence of an iteration failure.
- Parameters:
failure - the failure
- Throws:
RuntimeException - if no element can be yielded from the input element
Copyright © 2012. All Rights Reserved.