public class DelegatingJournal<E> extends Object implements Journal<E>
| Constructor and Description |
|---|
DelegatingJournal(Journal<E> delegate) |
| 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.
|
String |
toString() |
JournalWriter<E> |
writer()
Returns the journal writer.
|
public JournalWriter<E> writer()
Journalpublic JournalReader<E> openReader(long index)
JournalopenReader in interface Journal<E>index - The index at which to start the reader.public boolean isOpen()
Journalpublic void close()
Copyright © 2013–2018. All rights reserved.