| Package | Description |
|---|---|
| io.atomix.copycat.server.storage |
Standalone segmented log for Copycat's Raft implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
Log.commit(long index)
Commits entries up to the given index to the log.
|
Log |
Storage.openLog(String name)
Opens a new
Log, recovering the log from disk if it exists. |
Log |
Log.release(long index)
Releases the entry at the given index.
|
Log |
Log.skip(long entries)
Skips the given number of entries.
|
Log |
Log.truncate()
Truncates the log.
|
Log |
Log.truncate(long index)
Truncates the log up to the given index.
|
Copyright © 2013–2016. All rights reserved.