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 AUTO_COMMIT
          Option to automatically commit data after each operation.
static java.lang.String CACHE_SIZE
          Cache size (when applicable)
static java.lang.String CACHE_TYPE
          Cache type.
static java.lang.String DISABLE_TRANSACTIONS
          Option to disable transaction (to increase performance at the cost of potential data loss).
static java.lang.String NORMAL_CACHE
          Use normal (strong) object references for the record cache.
static java.lang.String PROVIDER_FACTORY
          Option to create a thread-safe record manager.
static java.lang.String SOFT_REF_CACHE
          Use soft references {$link java.lang.ref.SoftReference} for the record cache instead of the default normal object references.
static java.lang.String THREAD_SAFE
          Option to create a thread-safe record manager.
static java.lang.String WEAK_REF_CACHE
          Use weak references {$link java.lang.ref.WeakReference} for the record cache instead of the default normal object references.
 
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
Option to create a thread-safe record manager.

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).

See Also:
Constant Field Values

CACHE_TYPE

public static final java.lang.String CACHE_TYPE
Cache type.

See Also:
Constant Field Values

CACHE_SIZE

public static final java.lang.String CACHE_SIZE
Cache size (when applicable)

See Also:
Constant Field Values

NORMAL_CACHE

public static final java.lang.String NORMAL_CACHE
Use normal (strong) object references for the record cache.

See Also:
Constant Field Values

SOFT_REF_CACHE

public static final java.lang.String SOFT_REF_CACHE
Use soft references {$link java.lang.ref.SoftReference} for the record cache instead of the default normal object references.

Soft references are cleared at the discretion of the garbage collector in response to memory demand.

See Also:
Constant Field Values

WEAK_REF_CACHE

public static final java.lang.String WEAK_REF_CACHE
Use weak references {$link java.lang.ref.WeakReference} for the record cache instead of the default normal object references.

Weak references do not prevent their referents from being made finalizable, finalized, and then reclaimed.

See Also:
Constant Field Values
Constructor Detail

RecordManagerOptions

public RecordManagerOptions()


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