|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.transformation.helpers.StoreIncludeCacheStorageProxy
public final class StoreIncludeCacheStorageProxy
This is the interface between the IncludeCacheManager
and the usual
store.
Constructor Summary | |
---|---|
StoreIncludeCacheStorageProxy(Store store,
Logger logger)
Constructor |
Method Summary | |
---|---|
Serializable |
get(String uri)
Get the cached content for the given URI. |
void |
put(String uri,
Serializable object)
Put the content into the cache for the given URI. |
void |
remove(String uri)
Remove the cached content for the given URI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreIncludeCacheStorageProxy(Store store, Logger logger)
store
- The store for the cached contentlogger
- A logger for debuggingMethod Detail |
---|
public Serializable get(String uri)
IncludeCacheStorageProxy
get
in interface IncludeCacheStorageProxy
uri
- Absolute URI specifying the content
IncludeCacheStorageProxy.get(java.lang.String)
public void put(String uri, Serializable object) throws IOException
IncludeCacheStorageProxy
put
in interface IncludeCacheStorageProxy
uri
- Absolute URI specifying the contentobject
- The content
IOException
IncludeCacheStorageProxy.put(java.lang.String, java.io.Serializable)
public void remove(String uri)
IncludeCacheStorageProxy
remove
in interface IncludeCacheStorageProxy
uri
- Absolute URI specifying the contentIncludeCacheStorageProxy.remove(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |