public interface PageCache
| Modifier and Type | Method and Description |
|---|---|
void |
cachePage(String key,
CacheEntry entry,
boolean persistent)
Caches a page with the specified key and persistence flag.
|
CacheEntry |
getCachedPage(String key)
Retrieves the cache entry for the specified key.
|
CacheEntry |
getCachedPage(String key,
boolean useExpired)
Retrieves the cache entry for the specified key.
|
CacheEntry |
getCachedPage(String key,
int maxCacheAge)
Retrieves the cache entry for the specified key.
|
void cachePage(String key, CacheEntry entry, boolean persistent)
key - The key to cache the data for.entry - The cache entry to store.persistent - If true the entry will be stored in the persistent cache and be avaialble between restarts.CacheEntry getCachedPage(String key)
key - The key to retrieve the entry for.CacheEntry getCachedPage(String key, boolean useExpired)
key - The key to retrieve the entry for.useExpired - Flag to use the entry if it expired or not.CacheEntry getCachedPage(String key, int maxCacheAge)
key - The key to retrieve the entry for.maxCacheAge - The maximum age of the entry in seconds.Copyright © 2016 Jasig. All Rights Reserved.