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
public static class BinaryStoreBufferProcessor.ReadDataException extends IOException
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:
- Serialized Form
-
Method Summary
Modifier and Type Method Description int
getMinimumBytesRequired()
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
-