Package org.xmlresolver.cache
Class CacheInfo
- java.lang.Object
-
- org.xmlresolver.cache.CacheInfo
-
public class CacheInfo extends java.lang.ObjectInformation about cached URIs. URI patterns (regular expression) can be included or excluded from the cache selectively. TheCacheInfoobject provides the parameters that will be applied when caching matching URIs.
-
-
Field Summary
Fields Modifier and Type Field Description booleancacheIs this pattern cached?longcacheSizeHow many entries are allowed for this pattern?longcacheSpaceHow much disk space may entries for this pattern occupy?longdeleteWaitHow long are expired entries kept for this pattern?longmaxAgeEntries older thanmaxAgewill expire.java.lang.StringpatternThe pattern (regular expression) that this CacheInfo matches.java.util.regex.PatternuriPatternThe compiled pattern.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
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 thanmaxAgewill expire.
-
-