com.bigdata.service
Interface DistributedTransactionService.Options

All Superinterfaces:
AbstractTransactionService.Options
All Known Subinterfaces:
TransactionServer.Options
Enclosing class:
DistributedTransactionService

public static interface DistributedTransactionService.Options
extends AbstractTransactionService.Options

Options understood by this service.

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

Field Summary
static String DATA_DIR
          The directory in which the persistent state of this service will be stored.
static String DEFAULT_SHAPSHOT_INTERVAL
          5 minutes (in millseconds).
static String SHAPSHOT_INTERVAL
          The interval in milliseconds between writing a snapshot of the index of accessible commit points into the DATA_DIR ("300000").
 
Fields inherited from interface com.bigdata.service.AbstractTransactionService.Options
DEFAULT_MIN_RELEASE_AGE, MIN_RELEASE_AGE, MIN_RELEASE_AGE_1D, MIN_RELEASE_AGE_1H, MIN_RELEASE_AGE_1M, MIN_RELEASE_AGE_1W, MIN_RELEASE_AGE_5M, MIN_RELEASE_AGE_NEVER, MIN_RELEASE_AGE_NO_HISTORY
 

Field Detail

DATA_DIR

static final String DATA_DIR
The directory in which the persistent state of this service will be stored.


SHAPSHOT_INTERVAL

static final String SHAPSHOT_INTERVAL
The interval in milliseconds between writing a snapshot of the index of accessible commit points into the DATA_DIR ("300000").

Two snapshots are retained of the commit time index so that those historical commit times required for reading on committed states of the database GT the releaseTime may be on hand after a service restart. Two snapshots are maintained, with the older snapshot being overwritten each time. A snapshot is written every N milliseconds, where N is configured using this property, and also when the service is shutdown.

This MAY be ZERO (0L) to disable snapshots - a feature that is used by the EmbeddedFederation when run in a diskless mode.


DEFAULT_SHAPSHOT_INTERVAL

static final String DEFAULT_SHAPSHOT_INTERVAL
5 minutes (in millseconds).

See Also:
Constant Field Values


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