jdbm
Class RecordManagerOptions

java.lang.Object
  extended by jdbm.RecordManagerOptions

public class RecordManagerOptions
extends java.lang.Object

Standard options for RecordManager.

Version:
$Id: RecordManagerOptions.java,v 1.1 2002/05/31 06:33:20 boisvert Exp $
Author:
Alex Boisvert, Cees de Groot

Field Summary
static java.lang.String APPEND_TO_END
          Option to disable free space reclaim.
static java.lang.String AUTO_COMMIT
          Option to automatically commit data after each operation.
static java.lang.String CACHE_SIZE
          Size of the MRU cache.
static java.lang.String CACHE_TYPE
          Type of cache to use.
static java.lang.String COMPRESS
          Compress pages in RecordManager with ZLIB.
static java.lang.String DISABLE_TRANSACTIONS
          Option to disable transaction (to increase performance at the cost of potential data loss).
static java.lang.String PROVIDER_FACTORY
          Class name of the provider factory.
static java.lang.String THREAD_SAFE
          Option to create a thread-safe record manager.
 
Constructor Summary
RecordManagerOptions()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROVIDER_FACTORY

public static final java.lang.String PROVIDER_FACTORY
Class name of the provider factory. Defaults to jdbm.recman.Provider.

See Also:
Constant Field Values

THREAD_SAFE

public static final java.lang.String THREAD_SAFE
Option to create a thread-safe record manager.

See Also:
Constant Field Values

AUTO_COMMIT

public static final java.lang.String AUTO_COMMIT
Option to automatically commit data after each operation.

See Also:
Constant Field Values

DISABLE_TRANSACTIONS

public static final java.lang.String DISABLE_TRANSACTIONS
Option to disable transaction (to increase performance at the cost of potential data loss).
Possible values: false|true.

See Also:
Constant Field Values

APPEND_TO_END

public static final java.lang.String APPEND_TO_END
Option to disable free space reclaim. New records are always inserted to end of file. Usefull mainly on batch imports. You will need to defrag() store after you are done
Possible values: false|true.

See Also:
Constant Field Values

CACHE_TYPE

public static final java.lang.String CACHE_TYPE
Type of cache to use.
Possible values: auto|none|mru|soft.

With auto soft cache is used if VM have more then 1000 MB available. Bellow that mru cache is used.

See Also:
Constant Field Values

CACHE_SIZE

public static final java.lang.String CACHE_SIZE
Size of the MRU cache. This affects cache type "mru" and cache type "soft".
Default value: 1000.

See Also:
Constant Field Values

COMPRESS

public static final java.lang.String COMPRESS
Compress pages in RecordManager with ZLIB. This may result in better space usage, but lower performance.
Possible values: false|true.

See Also:
Constant Field Values
Constructor Detail

RecordManagerOptions

public RecordManagerOptions()


Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net