Package com.lmax.disruptor
Class AlertException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.lmax.disruptor.AlertException
- All Implemented Interfaces:
Serializable
Used to alert
EventProcessor
s waiting at a SequenceBarrier
of status changes.
It does not fill in a stack trace for performance reasons.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlertException
Pre-allocated exception to avoid garbage generation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Private constructor so only a single instance exists. -
Method Summary
Modifier and TypeMethodDescriptionOverridden 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 Details
-
INSTANCE
Pre-allocated exception to avoid garbage generation
-
-
Constructor Details
-
AlertException
private AlertException()Private constructor so only a single instance exists.
-
-
Method Details
-
fillInStackTrace
Overridden so the stack trace is not filled in for this exception for performance reasons.- Overrides:
fillInStackTrace
in classThrowable
- Returns:
- this instance.
-