1.1 --- a/mdr/src/org/netbeans/mdr/persistence/btreeimpl/btreestorage/BtreeDataFile.java Thu Jun 10 18:28:05 2004 +0000
1.2 +++ b/mdr/src/org/netbeans/mdr/persistence/btreeimpl/btreestorage/BtreeDataFile.java Mon Jun 14 11:55:52 2004 +0000
1.3 @@ -69,7 +69,7 @@
1.4 class BtreeDataFile implements FileCache.NotifyOnCommit, MofidGenerator {
1.5
1.6 /** The btree data file is divided into chunks of this size. A
1.7 - file cache page must be an even number of chunks. Value is 128 */
1.8 + file cache page must be an even number of chunks. Value is 32 */
1.9 static final int BTREE_CHUNK_SIZE = 32;
1.10
1.11 /** the current (and, so far, only) version of btree. Value is 100 */
1.12 @@ -82,7 +82,7 @@
1.13 /** Maximum number of chunks in a single extent. Value is 256 */
1.14 static final int MAX_CHUNKS_IN_EXTENT = 256;
1.15
1.16 - /** Maximum bytes in a sngle extent */
1.17 + /** Maximum bytes in a single extent */
1.18 static final int MAX_BYTES_IN_EXTENT =
1.19 MAX_CHUNKS_IN_EXTENT * BTREE_CHUNK_SIZE;
1.20
1.21 @@ -140,7 +140,7 @@
1.22
1.23 /** Create a BtreeDataFile by reading a data file from a File Cache
1.24 * @param theCache the file cache
1.25 - * @param index index of the data fie in the cache
1.26 + * @param index index of the data file in the cache
1.27 * @exception StorageException if an IO error occurs or btree detects an inconsistency
1.28 */
1.29 BtreeDataFile(BtreeStorage storage, FileCache theCache, int index) throws StorageException {