|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransformCache
TransformCache
Method Summary | |
---|---|
void |
clearCache()
Clear the Transform Cache |
java.lang.String |
constructKey(java.lang.String url,
java.lang.String stylesheet)
Construct the key for the TransformDocumentTreeMap cache |
TransformCacheEntry |
get(java.lang.String key)
Retrieve the unique TransformCacheEntry keyed off with key |
java.lang.Object |
getDocument(java.lang.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(java.lang.String key,
java.lang.Object document,
long timeToLive)
Put a value in the TransformCache keyed off with the TransformId and the DocumentId. |
java.lang.Object |
remove(java.lang.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 |
---|
int getMaxSize()
void setMaxSize(int maxSize)
maxSize
- the maximum size of the cacheint getEvictionPercentage()
boolean isEnabled()
void put(java.lang.String key, java.lang.Object document, long timeToLive)
key
- document
- java.lang.Object remove(java.lang.String key)
key
-
TransformCacheEntry get(java.lang.String key)
key
-
java.lang.Object getDocument(java.lang.String key)
transformId
- documentId
-
java.lang.String constructKey(java.lang.String url, java.lang.String stylesheet)
void clearCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |