Uses of Interface
org.agrona.ErrorHandler
Packages that use ErrorHandler
Package
Description
Data structures and utilities useful for building high-performance Java applications.
Concurrent data structures and utilities that support both on and off Java heap usage.
A logger which provides a summary of distinct stacktrace based errors with counts and times.
-
Uses of ErrorHandler in org.agrona
Subinterfaces of ErrorHandler in org.agronaModifier and TypeInterfaceDescriptioninterfaceErrorHandlerthat can insert into a chain of responsibility, so it handles an error and then delegates on to the next in the chain.Methods in org.agrona with parameters of type ErrorHandlerModifier and TypeMethodDescriptionstatic voidCloseHelper.close(ErrorHandler errorHandler, AutoCloseable closeable) Close aAutoCloseabledelegating exceptions to theErrorHandler.static voidCloseHelper.closeAll(ErrorHandler errorHandler, AutoCloseable... closeables) Close all closeables and delegate exceptions to theErrorHandler.static voidCloseHelper.closeAll(ErrorHandler errorHandler, Collection<? extends AutoCloseable> closeables) Close all closeables and delegate exceptions to theErrorHandler.static voidIoUtil.delete(File file, ErrorHandler errorHandler) Recursively delete a file or directory tree.static voidIoUtil.deleteIfExists(File file, ErrorHandler errorHandler) Delete file only if it already exists.voidDelegatingErrorHandler.next(ErrorHandler errorHandler) Set the nextErrorHandlerto be called in a chain. -
Uses of ErrorHandler in org.agrona.concurrent
Classes in org.agrona.concurrent that implement ErrorHandlerModifier and TypeClassDescriptionclassAnErrorHandlerwhich callsAtomicCounter.increment()before delegating the exception.Fields in org.agrona.concurrent declared as ErrorHandlerModifier and TypeFieldDescriptionprivate final ErrorHandlerAgentInvoker.errorHandlerprivate final ErrorHandlerAgentRunner.errorHandlerprivate final ErrorHandlerCountedErrorHandler.errorHandlerConstructors in org.agrona.concurrent with parameters of type ErrorHandlerModifierConstructorDescriptionAgentInvoker(ErrorHandler errorHandler, AtomicCounter errorCounter, Agent agent) Create an agent and initialise it.AgentRunner(IdleStrategy idleStrategy, ErrorHandler errorHandler, AtomicCounter errorCounter, Agent agent) Create an agent runner and initialise it.CountedErrorHandler(ErrorHandler errorHandler, AtomicCounter errorCounter) Construct a counted error handler with a delegate and counter. -
Uses of ErrorHandler in org.agrona.concurrent.errors
Classes in org.agrona.concurrent.errors that implement ErrorHandlerModifier and TypeClassDescriptionclassA loggingErrorHandlerthat records to aDistinctErrorLogand if the log is full then overflows to aPrintStream.