Journal directory.
Optional journal actor name.
Optional journal actor dispatcher name.
true
if every write is physically synced. Default is false
.
true
if checksums are verified on read. Default is false
.
true
if the native LevelDB
should be used (default), false
for using a
Java port.
true
if entries are primarily ordered by processor
id, false
if entries are ordered by sequence number. Default is true
.
true
if checksums are verified on read.
true
if checksums are verified on read. Default is false
.
Creates and starts a new journal using the settings of this configuration object.
Creates and starts a new journal using the settings of this configuration object.
Creates a journal actor instance.
Creates a journal actor instance.
Journal directory.
Optional journal actor dispatcher name.
Optional journal actor dispatcher name.
true
if every write is physically synced.
true
if every write is physically synced. Default is false
.
Optional journal actor name.
Optional journal actor name.
true
if the native LevelDB
should be used (default), false
for using a
Java port.
true
if entries are primarily ordered by processor
id, false
if entries are ordered by sequence number.
true
if entries are primarily ordered by processor
id, false
if entries are ordered by sequence number. Default is true
.
Make journal read only (e.
Make journal read only (e.g. offline snapshot)
Returns false
if entries are primarily ordered by processor id,
true
if entries are ordered by sequence number.
Returns false
if entries are primarily ordered by processor id,
true
if entries are ordered by sequence number. Default is false
.
Hadoop filesystem for storing snapshots.
Hadoop filesystem for storing snapshots.
Timeout for loading a snapshot.
Timeout for loading a snapshot.
Path where snapshots are stored on snapshotFilesystem
.
Path where snapshots are stored on snapshotFilesystem
. A relative path is relative to
snapshotFilesystem
's working directory.
Timeout for saving a snapshot.
Timeout for saving a snapshot.
Serializer for writing and reading snapshots.
Serializer for writing and reading snapshots.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified checksum verification setting.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified journal actor dispatcher name.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified physical sync setting.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified journal actor name.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified native setting.
Returns a new LeveldbJournalProps
with processorStructured
set to true
and
sequenceStructured
set to false
.
Returns a new LeveldbJournalProps
with processorStructured
set to true
and
sequenceStructured
set to false
. With this setting, entries will be primarily
ordered by processor id.
Pros:
Cons:
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified read only property
Returns a new LeveldbJournalProps
with processorStructured
set to false
and
sequenceStructured
set to true
.
Returns a new LeveldbJournalProps
with processorStructured
set to false
and
sequenceStructured
set to true
. With this setting, entries will be ordered by
sequence number.
Pros:
Cons:
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified snapshot directory.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified snapshot filesystem.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified snapshot load timeout.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified snapshot save timeout.
Java API.
Java API.
Returns a new LeveldbJournalProps
with specified snapshot serializer.
Configuration object for a LevelDB based journal. Applications may also choose to use a Java port of LevelDB that doesn't run native code (see
native
field). This journal comes with different optimizations to choose from, as described at the methodswithProcessorStructure
withSequenceStructure
Journal actors can be created from a configuration object as follows:
Journal directory.
Optional journal actor name.
Optional journal actor dispatcher name.
true
if every write is physically synced. Default isfalse
.true
if checksums are verified on read. Default isfalse
.true
if the native LevelDB should be used (default),false
for using a Java port.true
if entries are primarily ordered by processor id,false
if entries are ordered by sequence number. Default istrue
.