Class IgnoreErrorHandler
java.lang.Object
io.nosqlbench.engine.api.activityapi.errorhandling.modular.handlers.IgnoreErrorHandler
- All Implemented Interfaces:
ErrorHandler
public class IgnoreErrorHandler extends java.lang.Object implements ErrorHandler
-
Constructor Summary
Constructors Constructor Description IgnoreErrorHandler() -
Method Summary
Modifier and Type Method Description ErrorDetailhandleError(java.lang.String name, java.lang.Throwable t, long cycle, long durationInNanos, ErrorDetail detail)An error handler is able to do side-effect processing for a particular error type, as well as modify the error detail that will be presented back to the caller.
-
Constructor Details
-
IgnoreErrorHandler
public IgnoreErrorHandler()
-
-
Method Details
-
handleError
public ErrorDetail handleError(java.lang.String name, java.lang.Throwable t, long cycle, long durationInNanos, ErrorDetail detail)Description copied from interface:ErrorHandlerAn error handler is able to do side-effect processing for a particular error type, as well as modify the error detail that will be presented back to the caller.- Specified by:
handleErrorin interfaceErrorHandlert- Thrown from within the activity's action loopcycle- The cycle which was executing when it randurationInNanos- How long into an operation the error occured- Returns:
- true if the operation should be retried, assuming retries available
-