|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICachelet
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(java.io.Writer aWriter)
Write the state of the cache out to the outputstream in unparsed xml in a cachelet specific manner. |
| Method Detail |
|---|
void init(Container aContainer,
ModuleDefinition aModule)
the - Container the cache will be servingthe - Module the cache is deployed intoIURRepresentation get(URRequest aRequest)
aRequest - the request
void put(URResult aResult)
ICachelet getBackingCache()
void write(java.io.Writer aWriter)
throws java.io.IOException
java.io.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 | |||||||||