Package org.apache.catalina.webresources
Class Cache
java.lang.Object
org.apache.catalina.webresources.Cache
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
clear()
long
long
long
int
int
protected WebResource
getResource
(String path, boolean useClassLoaderResources) protected WebResource[]
getResources
(String path, boolean useClassLoaderResources) long
getSize()
long
getTtl()
void
setCacheStrategy
(WebResourceRoot.CacheStrategy cacheStrategy) void
setMaxSize
(long maxSize) void
setObjectMaxSize
(int objectMaxSize) void
setTtl
(long ttl)
-
Field Details
-
sm
-
-
Constructor Details
-
Cache
-
-
Method Details
-
getResource
-
getResources
-
backgroundProcess
protected void backgroundProcess() -
getCacheStrategy
-
setCacheStrategy
-
getTtl
public long getTtl() -
setTtl
public void setTtl(long ttl) -
getMaxSize
public long getMaxSize() -
setMaxSize
public void setMaxSize(long maxSize) -
getLookupCount
public long getLookupCount() -
getHitCount
public long getHitCount() -
setObjectMaxSize
public void setObjectMaxSize(int objectMaxSize) -
getObjectMaxSize
public int getObjectMaxSize() -
getObjectMaxSizeBytes
public int getObjectMaxSizeBytes() -
clear
public void clear() -
getSize
public long getSize()
-