Public Member Functions | |
ResultCacheDatabase (int maxEntries, int pendingTimeout) | |
boolean | isUpdateNecessary (UpdateRequest request) |
String | getName () |
Protected Member Functions | |
void | processAddToCache (CacheEntry qe) |
void | processWriteNotify (AbstractWriteRequest request) |
DATABASE
: the cache is flushed each time the database is updated (every INSERT, UPDATE, DELETE, ... statement).
Definition at line 44 of file ResultCacheDatabase.java.
|
Builds a new ResultCache with a database granularity.
Definition at line 53 of file ResultCacheDatabase.java. 00054 { 00055 super(maxEntries, pendingTimeout); 00056 parsingGranularity = ParsingGranularities.NO_PARSING; 00057 }
|
|
Implements org.objectweb.cjdbc.controller.cache.result.ResultCache. Definition at line 86 of file ResultCacheDatabase.java. 00087 { 00088 return "database"; 00089 }
|
|
Implements org.objectweb.cjdbc.controller.cache.result.ResultCache. Definition at line 70 of file ResultCacheDatabase.java. 00071 { 00072 return true; 00073 }
|
|
Implements org.objectweb.cjdbc.controller.cache.result.ResultCache. Definition at line 62 of file ResultCacheDatabase.java. 00063 {
00064 return;
00065 }
|
|
Implements org.objectweb.cjdbc.controller.cache.result.ResultCache. Definition at line 78 of file ResultCacheDatabase.java. References org.objectweb.cjdbc.controller.cache.result.ResultCache.flushCache(). 00079 { 00080 flushCache(); 00081 }
|