public final class JournalWriterOptions extends Object
JournalWriter
.Modifier and Type | Method and Description |
---|---|
static JournalWriterOptions |
defaults() |
boolean |
equals(Object o) |
long |
getNextSequenceNumber() |
int |
hashCode() |
boolean |
isPrimary() |
JournalWriterOptions |
setNextSequenceNumber(long nextSequenceNumber) |
JournalWriterOptions |
setPrimary(boolean primary) |
String |
toString() |
public static JournalWriterOptions defaults()
public long getNextSequenceNumber()
public boolean isPrimary()
public JournalWriterOptions setNextSequenceNumber(long nextSequenceNumber)
nextSequenceNumber
- the next sequence numberpublic JournalWriterOptions setPrimary(boolean primary)
primary
- whether it is primary masterCopyright © 2023. All Rights Reserved.