| java.lang.Object org.openlaszlo.cache.CachedInfo
CachedInfo | public class CachedInfo implements Serializable(Code) | | A class for representing the serializable bits of
a cache item.
author: Eric Bloch |
CachedInfo | public CachedInfo(Serializable key, String encoding, boolean inMem, long name)(Code) | | Construct an CachedInfo based on this request
|
getEncoding | public String getEncoding()(Code) | | the encoding of this info |
getKeySize | public long getKeySize()(Code) | | the size of this item's key |
getLastModified | public long getLastModified()(Code) | | the last modified time of this item |
getName | public long getName()(Code) | | the name of this info |
getSize | public long getSize()(Code) | | the size of this item in bytes |
isInMemory | public boolean isInMemory()(Code) | | true if the item is in in-mem cache |
setInMemory | public void setInMemory(boolean inMem)(Code) | | Set the in-memory state for this item
|
setLastModified | public void setLastModified(long lm)(Code) | | Set the cached size of this item in bytes
|
setSize | public void setSize(long sz)(Code) | | Return the cached size of this item in bytes
|
|
|