com.bigdata.journal
Interface Journal.Options

All Superinterfaces:
ConcurrencyManager.Options, IServiceShutdown.Options, Options, TemporaryStoreFactory.Options
Enclosing class:
Journal

public static interface Journal.Options
extends Options, ConcurrencyManager.Options, TemporaryStoreFactory.Options

Options understood by the Journal.

Version:
$Id: Journal.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static String DEFAULT_LOCATOR_CACHE_CAPACITY
           
static String DEFAULT_LOCATOR_CACHE_TIMEOUT
           
static String LOCATOR_CACHE_CAPACITY
          The capacity of the HardReferenceQueue backing the IResourceLocator maintained by the Journal.
static String LOCATOR_CACHE_TIMEOUT
          The timeout in milliseconds for stale entries in the IResourceLocator cache -or- ZERO (0) to disable the timeout (default "60000").
 
Fields inherited from interface com.bigdata.journal.Options
ALTERNATE_ROOT_BLOCK, BUFFER_MODE, CREATE, CREATE_TEMP_FILE, CREATE_TIME, DEFAULT_BUFFER_MODE, DEFAULT_CREATE, DEFAULT_CREATE_TEMP_FILE, DEFAULT_DELETE_ON_CLOSE, DEFAULT_DELETE_ON_EXIT, DEFAULT_DOUBLE_SYNC, DEFAULT_FILE_LOCK_ENABLED, DEFAULT_FORCE_ON_COMMIT, DEFAULT_FORCE_WRITES, DEFAULT_HISTORICAL_INDEX_CACHE_CAPACITY, DEFAULT_HISTORICAL_INDEX_CACHE_TIMEOUT, DEFAULT_INITIAL_EXTENT, DEFAULT_LIVE_INDEX_CACHE_CAPACITY, DEFAULT_LIVE_INDEX_CACHE_TIMEOUT, DEFAULT_MAXIMUM_EXTENT, DEFAULT_READ_CACHE_CAPACITY, DEFAULT_READ_CACHE_MAX_RECORD_SIZE, DEFAULT_READ_ONLY, DEFAULT_USE_DIRECT_BUFFERS, DEFAULT_VALIDATE_CHECKSUM, DEFAULT_WRITE_CACHE_CAPACITY, DELETE_ON_CLOSE, DELETE_ON_EXIT, DOUBLE_SYNC, FILE, FILE_LOCK_ENABLED, FORCE_ON_COMMIT, FORCE_WRITES, HISTORICAL_INDEX_CACHE_CAPACITY, HISTORICAL_INDEX_CACHE_TIMEOUT, INITIAL_EXTENT, JNL, LIVE_INDEX_CACHE_CAPACITY, LIVE_INDEX_CACHE_TIMEOUT, MAXIMUM_EXTENT, minimumInitialExtent, minimumWriteCacheCapacity, OFFSET_BITS, READ_CACHE_CAPACITY, READ_CACHE_MAX_RECORD_SIZE, READ_ONLY, SEG, TMP_DIR, USE_DIRECT_BUFFERS, VALIDATE_CHECKSUM, WRITE_CACHE_CAPACITY
 
Fields inherited from interface com.bigdata.journal.ConcurrencyManager.Options
DEFAULT_READ_SERVICE_CORE_POOL_SIZE, DEFAULT_TX_SERVICE_CORE_POOL_SIZE, DEFAULT_WRITE_SERVICE_CORE_POOL_SIZE, DEFAULT_WRITE_SERVICE_GROUP_COMMIT_TIMEOUT, DEFAULT_WRITE_SERVICE_KEEP_ALIVE_TIME, DEFAULT_WRITE_SERVICE_MAXIMUM_POOL_SIZE, DEFAULT_WRITE_SERVICE_OVERFLOW_LOCK_REQUEST_TIMEOUT, DEFAULT_WRITE_SERVICE_PRESTART_ALL_CORE_THREADS, DEFAULT_WRITE_SERVICE_QUEUE_CAPACITY, READ_SERVICE_CORE_POOL_SIZE, TX_SERVICE_CORE_POOL_SIZE, WRITE_SERVICE_CORE_POOL_SIZE, WRITE_SERVICE_GROUP_COMMIT_TIMEOUT, WRITE_SERVICE_KEEP_ALIVE_TIME, WRITE_SERVICE_MAXIMUM_POOL_SIZE, WRITE_SERVICE_OVERFLOW_LOCK_REQUEST_TIMEOUT, WRITE_SERVICE_PRESTART_ALL_CORE_THREADS, WRITE_SERVICE_QUEUE_CAPACITY
 
Fields inherited from interface com.bigdata.service.IServiceShutdown.Options
DEFAULT_SHUTDOWN_TIMEOUT, SHUTDOWN_TIMEOUT
 
Fields inherited from interface com.bigdata.journal.TemporaryStoreFactory.Options
DEFAULT_MAX_EXTENT, DEFAULT_OFFSET_BITS, JAVA_TMP_DIR_PROPERTY, MAX_EXTENT, OFFSET_BITS, TMP_DIR
 

Field Detail

LOCATOR_CACHE_CAPACITY

static final String LOCATOR_CACHE_CAPACITY
The capacity of the HardReferenceQueue backing the IResourceLocator maintained by the Journal. The capacity of this cache indirectly controls how many ILocatableResources the Journal will hold open.

The effect of this parameter is indirect owning to the semantics of weak references and the control of the JVM over when they are cleared. Once an ILocatableResource becomes weakly reachable, the JVM will eventually GC the object. Since objects which are strongly reachable are never cleared, this provides our guarantee that resources are never closed if they are in use.

See Also:
DEFAULT_LOCATOR_CACHE_CAPACITY

DEFAULT_LOCATOR_CACHE_CAPACITY

static final String DEFAULT_LOCATOR_CACHE_CAPACITY
See Also:
Constant Field Values

LOCATOR_CACHE_TIMEOUT

static final String LOCATOR_CACHE_TIMEOUT
The timeout in milliseconds for stale entries in the IResourceLocator cache -or- ZERO (0) to disable the timeout (default "60000"). When this timeout expires, the reference for the entry in the backing HardReferenceQueue will be cleared. Note that the entry will remain in the IResourceLocator cache regardless as long as it is strongly reachable.


DEFAULT_LOCATOR_CACHE_TIMEOUT

static final String DEFAULT_LOCATOR_CACHE_TIMEOUT
See Also:
Constant Field Values


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.