|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TransformCache
Method Summary | |
void |
clearCache()
Clear the Transform Cache |
String |
constructKey(String url,
String stylesheet)
Construct the key for the TransformDocumentTreeMap cache |
TransformCacheEntry |
get(String key)
Retrieve the unique TransformCacheEntry keyed off with key |
Object |
getDocument(String key)
Retrieve the byte[] storing the transformed content for the transfomId and the documentId combination. |
int |
getEvictionPercentage()
Get the eviction percentage of the cache |
int |
getMaxSize()
Get the maximum size of the cache |
boolean |
isEnabled()
Find out if TransformCache is enables |
void |
put(String key,
Object document,
long timeToLive)
Put a value in the TransformCache keyed off with the TransformId and the DocumentId. |
Object |
remove(String key)
Remove a unique value keyed off with the TransformId and DocumentId from the cache. |
void |
setMaxSize(int maxSize)
Set the new maximum size of the cache |
Methods inherited from interface java.util.Observer |
update |
Methods inherited from interface java.util.Comparator |
compare, equals |
Method Detail |
public int getMaxSize()
public void setMaxSize(int maxSize)
maxSize
- the maximum size of the cachepublic int getEvictionPercentage()
public boolean isEnabled()
public void put(String key, Object document, long timeToLive)
key
- document
- public Object remove(String key)
key
-
public TransformCacheEntry get(String key)
key
-
public Object getDocument(String key)
public String constructKey(String url, String stylesheet)
public void clearCache()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |