public static class JournalSystem.Builder extends Object
Constructor and Description |
---|
Builder()
Creates a new journal system builder.
|
Modifier and Type | Method and Description |
---|---|
JournalSystem |
build(CommonUtils.ProcessType processType) |
JournalSystem.Builder |
setLocation(URI location) |
JournalSystem.Builder |
setQuietTimeMs(long quietTimeMs) |
public JournalSystem.Builder setLocation(URI location)
location
- the location for the journal systempublic JournalSystem.Builder setQuietTimeMs(long quietTimeMs)
quietTimeMs
- before upgrading from STANDBY to PRIMARY mode, the journal will wait
until this duration has passed without any journal entries being written.public JournalSystem build(CommonUtils.ProcessType processType)
Copyright © 2023. All Rights Reserved.