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 -
-
Uses of ExceptionHandler in com.lmax.disruptor
Classes in com.lmax.disruptor that implement ExceptionHandler Modifier and Type Class Description classFatalExceptionHandlerConvenience implementation of an exception handler that using standard JDK logging to log the exception asLevel.SEVERE and re-throw it wrapped in aRuntimeExceptionclassIgnoreExceptionHandlerConvenience implementation of an exception handler that using standard JDK logging to log the exception asLevel.INFOMethods in com.lmax.disruptor that return ExceptionHandler Modifier and Type Method Description static ExceptionHandler<Object>ExceptionHandlers. defaultHandler()Get a reference to the defaultExceptionHandlerinstance.Methods in com.lmax.disruptor with parameters of type ExceptionHandler Modifier and Type Method Description voidBatchEventProcessor. setExceptionHandler(ExceptionHandler<? super T> exceptionHandler)Set a newExceptionHandlerfor handling exceptions propagated out of theBatchEventProcessorConstructors in com.lmax.disruptor with parameters of type ExceptionHandler Constructor Description WorkerPool(EventFactory<T> eventFactory, ExceptionHandler<? super T> exceptionHandler, WorkHandler<? super T>... workHandlers)Construct a work pool with an internalRingBufferfor convenience.WorkerPool(RingBuffer<T> ringBuffer, SequenceBarrier sequenceBarrier, ExceptionHandler<? super T> exceptionHandler, WorkHandler<? super T>... workHandlers)Create a worker pool to enable an array ofWorkHandlers to consume published sequences.WorkProcessor(RingBuffer<T> ringBuffer, SequenceBarrier sequenceBarrier, WorkHandler<? super T> workHandler, ExceptionHandler<? super T> exceptionHandler, Sequence workSequence)Construct aWorkProcessor. -
Uses of ExceptionHandler in com.lmax.disruptor.dsl
Classes in com.lmax.disruptor.dsl that implement ExceptionHandler Modifier and Type Class Description classExceptionHandlerWrapper<T>Methods in com.lmax.disruptor.dsl with parameters of type ExceptionHandler Modifier and Type Method Description voidDisruptor. handleExceptionsWith(ExceptionHandler<? super T> exceptionHandler)Deprecated.This method only applies to future event handlers.voidDisruptor. setDefaultExceptionHandler(ExceptionHandler<? super T> exceptionHandler)Specify an exception handler to be used for event handlers and worker pools created by this Disruptor.voidExceptionHandlerWrapper. switchTo(ExceptionHandler<? super T> exceptionHandler)voidExceptionHandlerSetting. with(ExceptionHandler<? super T> exceptionHandler)Specify theExceptionHandlerto use with the event handler.
-