|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Journal.Options
Options understood by the Journal.
| 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.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 |
|---|
static final String LOCATOR_CACHE_CAPACITY
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.
DEFAULT_LOCATOR_CACHE_CAPACITYstatic final String DEFAULT_LOCATOR_CACHE_CAPACITY
static final String LOCATOR_CACHE_TIMEOUT
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.
static final String DEFAULT_LOCATOR_CACHE_TIMEOUT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||