public class LogExceptionHandler<T> extends Object implements com.lmax.disruptor.ExceptionHandler<T>
Modifier and Type | Field and Description |
---|---|
private static AtomicLong |
incidentCount |
private static PrintWriter |
writer |
Constructor and Description |
---|
LogExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleEventException(Throwable arg0,
long arg1,
T arg2) |
void |
handleOnShutdownException(Throwable arg0) |
void |
handleOnStartException(Throwable arg0) |
static void |
init() |
private static PrintWriter writer
private static final AtomicLong incidentCount
public static void init() throws Lot49Exception
Lot49Exception
public void handleEventException(Throwable arg0, long arg1, T arg2)
handleEventException
in interface com.lmax.disruptor.ExceptionHandler<T>
public void handleOnShutdownException(Throwable arg0)
handleOnShutdownException
in interface com.lmax.disruptor.ExceptionHandler<T>