| Constructor and Description |
|---|
ByteArrayCache() |
ByteArrayCache(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(byte[] newData,
int length) |
long |
available() |
void |
close() |
void |
complete() |
boolean |
isCompleted() |
int |
read(byte[] buffer,
long offset,
int length) |
public ByteArrayCache()
public ByteArrayCache(byte[] data)
public int read(byte[] buffer,
long offset,
int length)
throws ProxyCacheException
read in interface CacheProxyCacheExceptionpublic long available()
throws ProxyCacheException
available in interface CacheProxyCacheExceptionpublic void append(byte[] newData,
int length)
throws ProxyCacheException
append in interface CacheProxyCacheExceptionpublic void close()
throws ProxyCacheException
close in interface CacheProxyCacheExceptionpublic boolean isCompleted()
isCompleted in interface Cache