| Package | Description |
|---|---|
| io.atomix.storage.journal |
| Modifier and Type | Method and Description |
|---|---|
static <E> SegmentedJournal.Builder<E> |
SegmentedJournal.builder()
Returns a new segmented journal builder.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withDirectory(File directory)
Sets the log directory, returning the builder for method chaining.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withDirectory(String directory)
Sets the log directory, returning the builder for method chaining.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withMaxEntriesPerSegment(int maxEntriesPerSegment)
Sets the maximum number of allows entries per segment, returning the builder for method chaining.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withMaxSegmentSize(int maxSegmentSize)
Sets the maximum segment size in bytes, returning the builder for method chaining.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withName(String name)
Sets the storage name.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withSerializer(io.atomix.utils.serializer.Serializer serializer)
Sets the journal serializer, returning the builder for method chaining.
|
SegmentedJournal.Builder<E> |
SegmentedJournal.Builder.withStorageLevel(StorageLevel storageLevel)
Sets the log storage level, returning the builder for method chaining.
|
Copyright © 2013–2018. All rights reserved.