On Thu, Apr 10, 2008 at 6:05 AM, Matthew Toseland
<toad at amphibian.dyndns.org> wrote:
> On Wednesday 09 April 2008 07:38, j16sdiz at freenetproject.org wrote:
>  > Author: j16sdiz
>  > Date: 2008-04-09 06:38:48 +0000 (Wed, 09 Apr 2008)
>  > New Revision: 19102
>  >
>  > Modified:
>  >    trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java
>  > Log:
>  > javadoc: BerkeleyDBFreenetStore
>  >
>  >
>  > Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java
>  > ===================================================================
>  > --- trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java       
> 2008-04-09
>  06:38:28 UTC (rev 19101)
>  > +++ trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java       
> 2008-04-09
>  06:38:48 UTC (rev 19102)
>  > @@ -46,12 +46,13 @@
>  >  import freenet.support.SortedLongSet;
>  >
>  >  /**
>  > -* Freenet datastore based on BerkelyDB Java Edition by sleepycat software
>  > -* More info at http://www.sleepycat.com/products/bdbje.html
>  > -*
>  > -* @author tubbie
>  > -* @author amphibian
>  > -*/
>  > + * Freenet datastore based on BerkelyDB Java Edition by Sleepycat 
> Software,
>  Inc.
>  > + * (now Oracle). More info at <a
>  > + *
>  
> href="http://www.oracle.com/database/berkeley-db/je/";>http://www.oracle.com/database/berkeley-db/je/</a>.
>  > + *
>  > + * @author tubbie
>  > + * @author amphibian
>  > + */
>  >  public class BerkeleyDBFreenetStore implements FreenetStore {
>  >
>  >       private static boolean logMINOR;
>  > @@ -228,16 +229,42 @@
>  >       }
>  >
>  >       /**
>  > -     * Initializes database
>  > -     * @param noCheck If true, don't check for holes etc.
>  > -     * @param wipe If true, wipe the database first.
>  > -      * @param reconstructFile
>  > -     * @param the directory where the store is located
>  > -     * @throws IOException
>  > -     * @throws DatabaseException
>  > -     * @throws FileNotFoundException if the dir does not exist and could 
> not be
>  created
>  > -     */
>  > -     private BerkeleyDBFreenetStore(Environment env, String prefix, File
>  storeFile, File lruFile, File keysFile, File fixSecondaryFile, long
>  maxChkBlocks, boolean noCheck, boolean wipe, SemiOrderedShutdownHook
>  storeShutdownHook, File reconstructFile, StoreCallback callback) throws
>  IOException, DatabaseException {
>  > +      * Initializes database
>  > +      *
>  > +      * @param env
>  > +      *            Berkeley DB {@link Environment}.
>  > +      * @param prefix
>  > +      *            Database name prefix
>  > +      * @param storeFile
>  > +      *            Store file file
>  > +      * @param lruFile
>  > +      *            LRU database file
>  > +      * @param keysFile
>  > +      *            Keys database
>
>  Not a database in the sense that these don't use the BDBJE, they're just a
>  backup consisting of endless keys and LRU data back to back. The only
>  available operation is to look up or overwrite a specific block's LRU index
>  or key.

Thanks, fixed in r19126

Regards,
Daniel Cheng

Reply via email to