public final class RecordManagerOptions extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_COMMIT
Option to automatically commit data after each operation.
|
static String |
CACHE_SIZE
Cache size (when applicable)
|
static String |
CACHE_TYPE
Cache type.
|
static String |
DISABLE_TRANSACTIONS
Option to disable transaction (to increase performance at the cost of
potential data loss).
|
static String |
NORMAL_CACHE
Use normal (strong) object references for the record cache.
|
static String |
PROVIDER_FACTORY
Option to create a thread-safe record manager.
|
static String |
SOFT_REF_CACHE
Use soft references {$link java.lang.ref.SoftReference} for the record
cache instead of the default normal object references.
|
static String |
THREAD_SAFE
Option to create a thread-safe record manager.
|
static String |
WEAK_REF_CACHE
Use weak references {$link java.lang.ref.WeakReference} for the record
cache instead of the default normal object references.
|
public static final String PROVIDER_FACTORY
public static final String THREAD_SAFE
public static final String AUTO_COMMIT
public static final String DISABLE_TRANSACTIONS
public static final String CACHE_TYPE
public static final String CACHE_SIZE
public static final String NORMAL_CACHE
public static final String SOFT_REF_CACHE
Soft references are cleared at the discretion of the garbage collector in response to memory demand.
public static final String WEAK_REF_CACHE
Weak references do not prevent their referents from being made finalizable, finalized, and then reclaimed.
Copyright © 2016. All rights reserved.