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)
Appease checkstyles..
|
| 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 - key - chunkSize - totalSize - public 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-2014 DuraSpace, Inc.. All Rights Reserved.