Uses of Interface
com.lmax.disruptor.ExceptionHandler
-
Packages that use ExceptionHandler Package Description com.lmax.disruptor The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.com.lmax.disruptor.dsl A DSL-style API for setting up the disruptor pattern around a ring buffer. -
-
Uses of ExceptionHandler in com.lmax.disruptor
Classes in com.lmax.disruptor that implement ExceptionHandler Modifier and Type Class Description class
FatalExceptionHandler
Convenience implementation of an exception handler that uses the standard JDK logging ofSystem.Logger
to log the exception asSystem.Logger.Level
.ERROR and re-throw it wrapped in aRuntimeException
class
IgnoreExceptionHandler
Convenience implementation of an exception handler that uses the standard JDK logging ofSystem.Logger
to log the exception asSystem.Logger.Level
.INFOMethods in com.lmax.disruptor that return ExceptionHandler Modifier and Type Method Description static ExceptionHandler<java.lang.Object>
ExceptionHandlers. defaultHandler()
Get a reference to the defaultExceptionHandler
instance.Methods in com.lmax.disruptor with parameters of type ExceptionHandler Modifier and Type Method Description void
BatchEventProcessor. setExceptionHandler(ExceptionHandler<? super T> exceptionHandler)
Set a newExceptionHandler
for handling exceptions propagated out of theBatchEventProcessor
. -
Uses of ExceptionHandler in com.lmax.disruptor.dsl
Classes in com.lmax.disruptor.dsl that implement ExceptionHandler Modifier and Type Class Description class
ExceptionHandlerWrapper<T>
A mutable exception handler wrapperMethods in com.lmax.disruptor.dsl with parameters of type ExceptionHandler Modifier and Type Method Description void
Disruptor. handleExceptionsWith(ExceptionHandler<? super T> exceptionHandler)
Deprecated.This method only applies to future event handlers.void
Disruptor. setDefaultExceptionHandler(ExceptionHandler<? super T> exceptionHandler)
Specify an exception handler to be used for event handlers and worker pools created by this Disruptor.void
ExceptionHandlerWrapper. switchTo(ExceptionHandler<? super T> exceptionHandler)
Switch to a different exception handlervoid
ExceptionHandlerSetting. with(ExceptionHandler<? super T> exceptionHandler)
Specify theExceptionHandler
to use with the event handler.
-