| Package | Description |
|---|---|
| io.atomix.storage.journal |
| Modifier and Type | Method and Description |
|---|---|
static JournalSegmentDescriptor.Builder |
JournalSegmentDescriptor.builder()
Returns a descriptor builder.
|
static JournalSegmentDescriptor.Builder |
JournalSegmentDescriptor.builder(Buffer buffer)
Returns a descriptor builder for the given descriptor buffer.
|
JournalSegmentDescriptor.Builder |
JournalSegmentDescriptor.Builder.withId(long id)
Sets the segment identifier.
|
JournalSegmentDescriptor.Builder |
JournalSegmentDescriptor.Builder.withIndex(long index)
Sets the segment index.
|
JournalSegmentDescriptor.Builder |
JournalSegmentDescriptor.Builder.withMaxEntries(int maxEntries)
Sets the maximum number of entries in the segment.
|
JournalSegmentDescriptor.Builder |
JournalSegmentDescriptor.Builder.withMaxSegmentSize(int maxSegmentSize)
Sets maximum count of the segment.
|
Copyright © 2013–2018. All rights reserved.