public interface StreamingLogReader extends LogEventIterator, java.io.Closeable
LogEventIterator
,
OffsetIterator
,
Closeable
,
CompletableIterator
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getLastModified()
Return the last modification time of the log (e.g.
|
long |
getTotalSize()
Return the total size
|
void |
openStream(java.lang.Long offset)
Read log entries starting at the specified offset
|
getOffset
isComplete
void openStream(java.lang.Long offset) throws java.io.IOException
offset
- offset valuejava.io.IOException
- if an io error occurslong getTotalSize()
java.util.Date getLastModified()