Class Cache

java.lang.Object
org.apache.catalina.webresources.Cache

public class Cache extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getResource

      protected WebResource getResource(String path, boolean useClassLoaderResources)
    • getResources

      protected WebResource[] getResources(String path, boolean useClassLoaderResources)
    • backgroundProcess

      protected void backgroundProcess()
    • getCacheStrategy

      public WebResourceRoot.CacheStrategy getCacheStrategy()
    • setCacheStrategy

      public void setCacheStrategy(WebResourceRoot.CacheStrategy cacheStrategy)
    • 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()