public class InProcessChronicleSink extends Object implements Chronicle
| Constructor and Description |
|---|
InProcessChronicleSink(Chronicle chronicle,
String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ChronicleConfig |
config() |
ExcerptAppender |
createAppender() |
Excerpt |
createExcerpt() |
ExcerptTailer |
createTailer() |
long |
lastWrittenIndex() |
String |
name() |
long |
size() |
public InProcessChronicleSink(@NotNull
Chronicle chronicle,
String hostname,
int port)
throws IOException
IOException@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 Chroniclepublic void close()
close in interface Closeableclose in interface AutoCloseablepublic ChronicleConfig config()
Copyright © 2014. All Rights Reserved.