public interface Journal<E> extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen()
Returns a boolean indicating whether the journal is open.
|
JournalReader<E> |
openReader(long index)
Opens a new journal reader.
|
JournalWriter<E> |
writer()
Returns the journal writer.
|
JournalWriter<E> writer()
JournalReader<E> openReader(long index)
index - The index at which to start the reader.boolean isOpen()
void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2013–2018. All rights reserved.