Package com.illumon.iris.binarystore
Class BinaryStoreBufferProcessor.ReadDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.illumon.iris.binarystore.BinaryStoreBufferProcessor.ReadDataException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- BinaryStoreBufferProcessor
The BinaryStoreBufferProcessors do not actually read any data, they only consume data passed into them using the
setDataBuffer method. If they come across an element in the log that requires more data than is available, then
they throw a ReadDataException.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the minimum number of bytes required to make progress.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getMinimumBytesRequired
public int getMinimumBytesRequired()Get the minimum number of bytes required to make progress.- Returns:
- The minimum number of bytes required
-