From: Wolfgang M. M. <wol...@us...> - 2004-06-04 09:43:02
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/collections In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29205/src/org/exist/collections Modified Files: Collection.java Log Message: Improved the periodic flushing of cache contents: this is now handled by a background thread (SyncDaemon) instead of the cache object itself. Different settings are possible for different files. The vital files, dom.dbx and collections.dbx, are flushed very often (every second). The other files can be reconstructed and are thus written less frequently. Index: Collection.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/collections/Collection.java,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Collection.java 2 Jun 2004 11:34:35 -0000 1.26 --- Collection.java 4 Jun 2004 09:42:45 -0000 1.27 *************** *** 1508,1512 **** * @see org.exist.storage.cache.Cacheable#release() */ ! public void sync() { } } --- 1508,1513 ---- * @see org.exist.storage.cache.Cacheable#release() */ ! public boolean sync() { ! return false; } } |