Package org.xmlresolver.cache
Class CacheInfo
- java.lang.Object
-
- org.xmlresolver.cache.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. TheCacheInfo
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 thanmaxAge
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()
-
-
-
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 thanmaxAge
will expire.
-
-