|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the service provider's interface (SPI) for plugging in an external cache (eg, the APFA cache, a web server cache, a proxy server cache or a sprayer cache). Each implementation of this interface encapsulates the particular protocol supported by an external cache. The CacheCoordinator calls this interface to manage pages in external caches. It is always called locally.
Restrictions on JSP fragments cached externally are the following:
Method Summary | |
void |
clear()
This method invalidates all pages from the external cache. |
void |
invalidatePages(java.util.Enumeration urls)
This method invalidates pages that are in the external cache. |
void |
setAddress(java.lang.String address)
Set the TCP/IP address of the cache adapter |
void |
writePages(java.util.Enumeration externalCacheEntries)
This method writes pages to the external cache. |
Method Detail |
public void setAddress(java.lang.String address)
public void writePages(java.util.Enumeration externalCacheEntries)
externalCacheEntries
- The Enumeration of ExternalCacheEntry
objects for the pages that are to be cached.public void invalidatePages(java.util.Enumeration urls)
urls
- The Enumeration of URLs for the pages that have
previously been written to the external cache and need invalidation.public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |