|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.transformation.helpers.IncludeCacheManagerSession
public final class IncludeCacheManagerSession
This object encapsulates a "caching session". A caching session has the
duration of one single request.
This object is used by the IncludeCacheManager
and holds all required
configuration for performing the caching of this request.
The session can be configured during construction with the following parameters:
- purge (boolean/false) : Turn on/off purging the cache
- preemptive (boolean/false) : Turn on/off preemptive caching
- parallel (boolean/false) : Turn on/off parallel processing
- expires (long/0) : The lifetime of the cached content
Method Summary | |
---|---|
long |
getExpires()
Get the expiration information |
SourceValidity |
getExpiresValidity()
|
boolean |
isParallel()
Do we process the includes in parallel? |
boolean |
isPreemptive()
Do we use preemptive caching? |
boolean |
isPurging()
Is the cache purged? |
Source |
resolveURI(String uri,
SourceResolver resolver)
Lookup a source object and cache it |
String |
toString()
Print a representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public long getExpires()
public SourceValidity getExpiresValidity()
public boolean isPurging()
public boolean isPreemptive()
public boolean isParallel()
public Source resolveURI(String uri, SourceResolver resolver) throws IOException
uri
- Absolute URI
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |