jdbm
Interface RecordManagerOptions


public interface RecordManagerOptions

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.
 

Field Detail

PROVIDER_FACTORY

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

See Also:
Constant Field Values

THREAD_SAFE

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

See Also:
Constant Field Values

AUTO_COMMIT

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

See Also:
Constant Field Values

DISABLE_TRANSACTIONS

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

static final java.lang.String CACHE_TYPE
Cache type.

See Also:
Constant Field Values

CACHE_SIZE

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

See Also:
Constant Field Values

NORMAL_CACHE

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

See Also:
Constant Field Values

SOFT_REF_CACHE

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

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


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.