Package org.apache.storm.blobstore
Class BlobStore.BlobStoreFileInputStream
java.lang.Object
java.io.InputStream
org.apache.storm.blobstore.InputStreamWithMeta
org.apache.storm.blobstore.BlobStore.BlobStoreFileInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- BlobStore
Input stream implementation used for writing both the metadata containing the acl information and the blob data.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BlobStoreFileInputStream
- Throws:
IOException
-
-
Method Details
-
getVersion
- Specified by:
getVersion
in classInputStreamWithMeta
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
getFileLength
- Specified by:
getFileLength
in classInputStreamWithMeta
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-