public class CacheInputStream extends InputStream
| Constructor and Description |
|---|
CacheInputStream() |
CacheInputStream(StreamCache cache,
org.brandao.brcache.DataMap map,
org.brandao.brcache.Block[] dataList) |
| Modifier and Type | Method and Description |
|---|---|
org.brandao.brcache.Block[] |
getArrayDataList() |
StreamCache |
getCache() |
long |
getCreationTime() |
long |
getExpirationTime() |
short |
getFlag() |
long |
getId() |
org.brandao.brcache.DataMap |
getMap() |
long |
getMostRecentTime() |
long |
getSize() |
long |
getTimeToIdle() |
long |
getTimeToIdleRemaining() |
long |
getTimeToLive() |
long |
getTimeToLiveRemaining() |
boolean |
isOverrideMetadata() |
int |
read() |
int |
read(byte[] bytes,
int i,
int i1) |
void |
setArrayDataList(org.brandao.brcache.Block[] arrayDataList) |
void |
setCache(StreamCache cache) |
void |
setMap(org.brandao.brcache.DataMap map) |
void |
writeTo(OutputStream out) |
available, close, mark, markSupported, read, reset, skippublic CacheInputStream()
public CacheInputStream(StreamCache cache, org.brandao.brcache.DataMap map, org.brandao.brcache.Block[] dataList)
public org.brandao.brcache.DataMap getMap()
public void setMap(org.brandao.brcache.DataMap map)
public org.brandao.brcache.Block[] getArrayDataList()
public void setArrayDataList(org.brandao.brcache.Block[] arrayDataList)
public StreamCache getCache()
public void setCache(StreamCache cache)
public int read(byte[] bytes,
int i,
int i1)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void writeTo(OutputStream out) throws IOException
IOExceptionpublic long getId()
public long getSize()
public long getTimeToLive()
public long getCreationTime()
public long getTimeToIdle()
public long getMostRecentTime()
public long getExpirationTime()
public long getTimeToLiveRemaining()
public long getTimeToIdleRemaining()
public short getFlag()
public boolean isOverrideMetadata()
Copyright © 2016. All rights reserved.