com.lmax.disruptor
Class AlertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.lmax.disruptor.AlertException
All Implemented Interfaces:
java.io.Serializable

public class AlertException
extends java.lang.Exception

Used to alert EventProcessors waiting at a SequenceBarrier of status changes.

It does not fill in a stack trace for performance reasons.

See Also:
Serialized Form

Field Summary
static AlertException INSTANCE
          Pre-allocated exception to avoid garbage generation
 
Method Summary
 java.lang.Throwable fillInStackTrace()
          Overridden so the stack trace is not filled in for this exception for performance reasons.
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final AlertException INSTANCE
Pre-allocated exception to avoid garbage generation

Method Detail

fillInStackTrace

public java.lang.Throwable fillInStackTrace()
Overridden so the stack trace is not filled in for this exception for performance reasons.

Overrides:
fillInStackTrace in class java.lang.Throwable
Returns:
this instance.


Copyright © 2011 LMAX Ltd. All Rights Reserved.