|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The cachelet interface
Method Summary | |
IURRepresentation |
get(URRequest aRequest)
Attempt to get a representation that will satisfy the given request |
ICachelet |
getBackingCache()
If this cache has a backing cache return it, otherwise null |
void |
init(Container aContainer,
ModuleDefinition aModule)
Initialises the cachelet with the container it will be serving |
void |
put(URResult aResult)
Gives the cachelet the opportunity to update or invalidate the cache based on the result that has been issued |
void |
write(Writer aWriter)
Write the state of the cache out to the outputstream in unparsed xml in a cachelet specific manner. |
Method Detail |
public void init(Container aContainer, ModuleDefinition aModule)
public IURRepresentation get(URRequest aRequest)
aRequest
- the request
public void put(URResult aResult)
public ICachelet getBackingCache()
public void write(Writer aWriter) throws IOException
IOException
- thrown if we fail to write to the stream
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |