Class OffloadIndexBlock.IndexInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.bookkeeper.mledger.offload.jcloud.OffloadIndexBlock.IndexInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing interface:
- OffloadIndexBlock
An input stream which knows the size of the stream upfront.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
IndexInputStream
-
-
Method Details
-
getStreamSize
public long getStreamSize()- Returns:
- the number of bytes in the stream.
-