public class CacheLoaderChunkInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buffer |
protected int |
indexInBuffer |
| Constructor and Description |
|---|
CacheLoaderChunkInputStream(org.infinispan.persistence.spi.CacheLoader<String,byte[]> blobCache,
String key,
int chunkSize,
long totalSize)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, markSupported, read, resetprotected int indexInBuffer
protected byte[] buffer
public CacheLoaderChunkInputStream(org.infinispan.persistence.spi.CacheLoader<String,byte[]> blobCache, String key, int chunkSize, long totalSize)
blobCache - the blob cachekey - the keychunkSize - the chunk sizetotalSize - the total sizepublic int read() throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic int available()
available in class InputStreampublic final long skip(long n)
skip in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.