Class CacheInfo


  • public class CacheInfo
    extends java.lang.Object
    Information about cached URIs. URI patterns (regular expression) can be included or excluded from the cache selectively. The CacheInfo object provides the parameters that will be applied when caching matching URIs.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean cache
      Is this pattern cached?
      long cacheSize
      How many entries are allowed for this pattern?
      long cacheSpace
      How much disk space may entries for this pattern occupy?
      long deleteWait
      How long are expired entries kept for this pattern?
      long maxAge
      Entries older than maxAge will expire.
      java.lang.String pattern
      The pattern (regular expression) that this CacheInfo matches.
      java.util.regex.Pattern uriPattern
      The compiled pattern.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • cache

        public final boolean cache
        Is this pattern cached?
      • pattern

        public final java.lang.String pattern
        The pattern (regular expression) that this CacheInfo matches.
      • uriPattern

        public final java.util.regex.Pattern uriPattern
        The compiled pattern.
      • deleteWait

        public final long deleteWait
        How long are expired entries kept for this pattern?
      • cacheSize

        public final long cacheSize
        How many entries are allowed for this pattern?
      • cacheSpace

        public final long cacheSpace
        How much disk space may entries for this pattern occupy?
      • maxAge

        public final long maxAge
        Entries older than maxAge will expire.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object