Mercurial > p > roundup > code
diff CHANGES.txt @ 4652:dfbc0cfa9811
Add an interface to register clearCache callbacks in roundupdb.
Sometimes complicated computations may require an application cache.
This application can now register a callback to clear the application
cache, because roundup knows better when to clear it (usually when a
transaction ends, either with rollback or with commit). The interface
for this is currently considered experimental. The current interface
is registerClearCacheCallback(self, method, param) where method is
called with param as the only parameter.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Fri, 17 Aug 2012 15:30:36 +0200 |
| parents | 11b6601629d7 |
| children | f0ef4f436542 |
line wrap: on
line diff
--- a/CHANGES.txt Sat Jul 14 02:39:23 2012 +0200 +++ b/CHANGES.txt Fri Aug 17 15:30:36 2012 +0200 @@ -7,7 +7,14 @@ Features: -- ... +- Add an interface to register clearCache callbacks in roundupdb. + Sometimes complicated computations may require an application cache. + This application can now register a callback to clear the application + cache, because roundup knows better when to clear it (usually when a + transaction ends, either with rollback or with commit). The interface + for this is currently considered experimental. The current interface + is registerClearCacheCallback(self, method, param) where method is + called with param as the only parameter. (Ralf Schlatterbeck) Fixed:
