Class BlobStoreBackedInputStreamImpl
java.lang.Object
java.io.InputStream
org.apache.bookkeeper.mledger.offload.jcloud.BackedInputStream
org.apache.bookkeeper.mledger.offload.jcloud.impl.BlobStoreBackedInputStreamImpl
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionBlobStoreBackedInputStreamImpl(org.jclouds.blobstore.BlobStore blobStore, String bucket, String key, DataBlockUtils.VersionCheck versionCheck, long objectLen, int bufferSize) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BlobStoreBackedInputStreamImpl
public BlobStoreBackedInputStreamImpl(org.jclouds.blobstore.BlobStore blobStore, String bucket, String key, DataBlockUtils.VersionCheck versionCheck, long objectLen, int bufferSize)
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
seek
public void seek(long position) - Specified by:
seekin classBackedInputStream
-
seekForward
- Specified by:
seekForwardin classBackedInputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-