Public Member Functions | |
RelaxedCaching (boolean keepIfNotDirty, long timeout) | |
CacheEntry | getCacheEntry (SelectRequest sqlQuery, ControllerResultSet result, AbstractResultCache cache) |
String | getXml () |
Definition at line 50 of file RelaxedCaching.java.
|
Create new RelaxedCaching action
Definition at line 61 of file RelaxedCaching.java. 00062 { 00063 this.keepIfNotDirty = keepIfNotDirty; 00064 this.timeout = timeout; 00065 }
|
|
Implements org.objectweb.cjdbc.controller.cache.result.CacheBehavior. Definition at line 71 of file RelaxedCaching.java. 00073 { 00074 return new ResultCacheEntryRelaxed(sqlQuery, result, timeout, 00075 keepIfNotDirty); 00076 }
|
|
Implements org.objectweb.cjdbc.controller.cache.result.CacheBehavior. Definition at line 81 of file RelaxedCaching.java. 00082 { 00083 return "<" + DatabasesXmlTags.ELT_RelaxedCaching + " " 00084 + DatabasesXmlTags.ATT_timeout + "=\"" + timeout / 1000 + "\" " 00085 + DatabasesXmlTags.ATT_keepIfNotDirty + "=\"" + keepIfNotDirty + "\"/>"; 00086 }
|