|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lmax.disruptor.IgnoreExceptionHandler
public final class IgnoreExceptionHandler
Convenience implementation of an exception handler that using standard JDK logging to log
the exception as Level
.INFO
Constructor Summary | |
---|---|
IgnoreExceptionHandler()
|
|
IgnoreExceptionHandler(java.util.logging.Logger logger)
|
Method Summary | |
---|---|
void |
handle(java.lang.Exception ex,
AbstractEntry currentEntry)
Strategy for handling uncaught exceptions when processing an AbstractEntry . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IgnoreExceptionHandler()
public IgnoreExceptionHandler(java.util.logging.Logger logger)
Method Detail |
---|
public void handle(java.lang.Exception ex, AbstractEntry currentEntry)
ExceptionHandler
AbstractEntry
.
If the strategy wishes to suspend further processing by the BatchConsumer
then is should throw a RuntimeException
.
handle
in interface ExceptionHandler
ex
- the exception that propagated from the BatchHandler
currentEntry
- being processed when the exception occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |