| |
|
| java.lang.Object org.mortbay.component.AbstractLifeCycle org.mortbay.jetty.ResourceCache
Inner Class :public class Content implements HttpContent | |
_cachedFiles | protected transient int _cachedFiles(Code) | | |
_cachedSize | protected transient int _cachedSize(Code) | | |
_leastRecentlyUsed | protected transient Content _leastRecentlyUsed(Code) | | |
_mostRecentlyUsed | protected transient Content _mostRecentlyUsed(Code) | | |
flushCache | public void flushCache()(Code) | | |
getCachedFiles | public int getCachedFiles()(Code) | | |
getCachedSize | public int getCachedSize()(Code) | | |
getMaxCacheSize | public int getMaxCacheSize()(Code) | | |
getMaxCachedFileSize | public int getMaxCachedFileSize()(Code) | | |
getMaxCachedFiles | public int getMaxCachedFiles()(Code) | | Returns the maxCachedFiles. |
lookup | public Content lookup(String pathInContext, ResourceFactory factory) throws IOException(Code) | | Get a Entry from the cache.
Get either a valid entry object or create a new one if possible.
Parameters: pathInContext - The key into the cache Parameters: factory - If no matching entry is found, this ResourceFactory will be used to create the Resource for the new enry that is created. The entry matching pathInContext , or a new entry if no matching entry was found |
setMaxCacheSize | public void setMaxCacheSize(int maxCacheSize)(Code) | | |
setMaxCachedFileSize | public void setMaxCachedFileSize(int maxCachedFileSize)(Code) | | |
setMaxCachedFiles | public void setMaxCachedFiles(int maxCachedFiles)(Code) | | Parameters: maxCachedFiles - The maxCachedFiles to set. |
|
|
|