Uses of Interface
com.lmax.disruptor.ExceptionHandler
Packages that use ExceptionHandler
Package
Description
The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.
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 ExceptionHandlerModifier and TypeClassDescriptionfinal classConvenience implementation of an exception handler that uses the standard JDK logging ofSystem.Loggerto log the exception asSystem.Logger.Level.ERROR and re-throw it wrapped in aRuntimeExceptionfinal classConvenience implementation of an exception handler that uses the standard JDK logging ofSystem.Loggerto log the exception asSystem.Logger.Level.INFOFields in com.lmax.disruptor declared as ExceptionHandlerModifier and TypeFieldDescriptionprivate ExceptionHandler<? super T> BatchEventProcessor.exceptionHandlerprivate static final ExceptionHandler<Object> ExceptionHandlers.DefaultExceptionHandlerHolder.HANDLERMethods in com.lmax.disruptor that return ExceptionHandlerModifier and TypeMethodDescriptionstatic ExceptionHandler<Object> ExceptionHandlers.defaultHandler()Get a reference to the defaultExceptionHandlerinstance.private ExceptionHandler<? super T> BatchEventProcessor.getExceptionHandler()Methods in com.lmax.disruptor with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionvoidBatchEventProcessor.setExceptionHandler(ExceptionHandler<? super T> exceptionHandler) Set a newExceptionHandlerfor handling exceptions propagated out of theBatchEventProcessor. -
Uses of ExceptionHandler in com.lmax.disruptor.dsl
Classes in com.lmax.disruptor.dsl that implement ExceptionHandlerModifier and TypeClassDescriptionclassA mutable exception handler wrapperFields in com.lmax.disruptor.dsl declared as ExceptionHandlerModifier and TypeFieldDescriptionprivate ExceptionHandler<? super T> ExceptionHandlerWrapper.delegateprivate ExceptionHandler<? super T> Disruptor.exceptionHandlerMethods in com.lmax.disruptor.dsl that return ExceptionHandlerModifier and TypeMethodDescriptionprivate ExceptionHandler<? super T> ExceptionHandlerWrapper.getExceptionHandler()Methods in com.lmax.disruptor.dsl with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionvoidDisruptor.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) Switch to a different exception handlervoidExceptionHandlerSetting.with(ExceptionHandler<? super T> exceptionHandler) Specify theExceptionHandlerto use with the event handler.