public interface JournalSystem
| Modifier and Type | Method and Description |
|---|---|
long |
getReplayId() |
void |
onBecomeFollower() |
void |
onBecomeLeader() |
void |
replayTo(long journalId) |
void |
setReplayId(long replayId) |
void |
write(Journal journal) |
java.util.concurrent.Future<java.lang.Boolean> |
writeAsync(Journal journal) |
void write(Journal journal) throws StarException
StarExceptionjava.util.concurrent.Future<java.lang.Boolean> writeAsync(Journal journal) throws StarException
StarExceptionvoid replayTo(long journalId)
throws StarException
StarExceptionvoid setReplayId(long replayId)
long getReplayId()
void onBecomeLeader()
void onBecomeFollower()
Copyright © 2024. All rights reserved.