From: Wolfgang M. M. <wol...@us...> - 2004-06-04 09:45:37
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/storage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29682/src/org/exist/storage Modified Files: NativeTextEngine.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: NativeTextEngine.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/storage/NativeTextEngine.java,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** NativeTextEngine.java 3 Jun 2004 10:32:32 -0000 1.54 --- NativeTextEngine.java 4 Jun 2004 09:45:27 -0000 1.55 *************** *** 140,144 **** try { if ((dbWords = (BFile) config.getProperty("db-connection.words")) == null) { ! dbWords = new BFile(new File(dataDir + pathSep + "words.dbx"), indexBuffers, dataBuffers); if (!dbWords.exists()) --- 140,144 ---- try { if ((dbWords = (BFile) config.getProperty("db-connection.words")) == null) { ! dbWords = new BFile(broker.getBrokerPool(), new File(dataDir + pathSep + "words.dbx"), indexBuffers, dataBuffers); if (!dbWords.exists()) |