public class IndexedChronicle extends Object implements Chronicle
| Constructor and Description |
|---|
IndexedChronicle(String basePath) |
IndexedChronicle(String basePath,
ChronicleConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ChronicleConfig |
config() |
ExcerptAppender |
createAppender() |
Excerpt |
createExcerpt() |
ExcerptTailer |
createTailer() |
long |
findTheLastIndex() |
long |
lastWrittenIndex() |
String |
name() |
long |
size() |
public IndexedChronicle(@NotNull
String basePath)
throws FileNotFoundException
FileNotFoundExceptionpublic IndexedChronicle(@NotNull
String basePath,
@NotNull
ChronicleConfig config)
throws FileNotFoundException
FileNotFoundExceptionpublic ChronicleConfig config()
public long findTheLastIndex()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException@NotNull public Excerpt createExcerpt() throws IOException
createExcerpt in interface ChronicleIOException@NotNull public ExcerptTailer createTailer() throws IOException
createTailer in interface ChronicleIOException@NotNull public ExcerptAppender createAppender() throws IOException
createAppender in interface ChronicleIOExceptionpublic long lastWrittenIndex()
lastWrittenIndex in interface ChronicleCopyright © 2014. All Rights Reserved.