Package com.lmax.disruptor
Class InsufficientCapacityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.lmax.disruptor.InsufficientCapacityException
-
- All Implemented Interfaces:
Serializable
public final class InsufficientCapacityException extends Exception
Exception thrown when it is not possible to insert a value into the ring buffer without it wrapping the consuming sequences. Used specifically when claiming with the
RingBuffer.tryNext()
call.For efficiency this exception will not have a stack trace.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static InsufficientCapacityException
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
fillInStackTrace()
-
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 InsufficientCapacityException INSTANCE
-
-
Method Detail
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classThrowable
-
-