Package com.lmax.disruptor
Class AlertException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.lmax.disruptor.AlertException
-
- All Implemented Interfaces:
Serializable
public final class AlertException extends Exception
Used to alertEventProcessors waiting at aSequenceBarrierof status changes.It does not fill in a stack trace for performance reasons.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AlertExceptionINSTANCEPre-allocated exception to avoid garbage generation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablefillInStackTrace()Overridden so the stack trace is not filled in for this exception for performance reasons.-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final AlertException INSTANCE
Pre-allocated exception to avoid garbage generation
-
-
Method Detail
-
fillInStackTrace
public Throwable fillInStackTrace()
Overridden so the stack trace is not filled in for this exception for performance reasons.- Overrides:
fillInStackTracein classThrowable- Returns:
- this instance.
-
-