@ThreadSafe public abstract class AbstractJournalSystem extends Object implements JournalSystem
JournalSystem.Builder, JournalSystem.Mode
Constructor and Description |
---|
AbstractJournalSystem() |
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the journal system.
|
protected abstract void |
startInternal()
Starts the journal system.
|
void |
stop()
Stops the journal system.
|
protected abstract void |
stopInternal()
Stops the journal system.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createJournal, format, gainPrimacy, isEmpty, isFormatted, losePrimacy
public void start() throws InterruptedException, IOException
JournalSystem
start
in interface JournalSystem
InterruptedException
IOException
public void stop() throws InterruptedException, IOException
JournalSystem
stop
in interface JournalSystem
InterruptedException
IOException
protected abstract void startInternal() throws InterruptedException, IOException
InterruptedException
IOException
protected abstract void stopInternal() throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2023. All Rights Reserved.