Class BackedInputStream
java.lang.Object
java.io.InputStream
org.apache.bookkeeper.mledger.offload.jcloud.BackedInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
BlobStoreBackedInputStreamImpl
Abstract input stream class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longabstract voidseek(long position) abstract voidseekForward(long position) Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BackedInputStream
public BackedInputStream()
-
-
Method Details
-
seek
public abstract void seek(long position) -
seekForward
- Throws:
IOException
-
getCurrentPosition
public abstract long getCurrentPosition()
-