Class FileLogReader
java.lang.Object
org.eclipse.rdf4j.common.logging.base.AbstractLogReader
org.eclipse.rdf4j.common.logging.file.logback.FileLogReader
File log reader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroy the log reader and release all used resources.boolean
hasNext()
void
init()
Initialize the log reader.boolean
Check if more records are available after limit is reached.next()
void
setAppender
(ch.qos.logback.core.Appender<?> appender) Logging appender associated with this reader.Methods inherited from class org.eclipse.rdf4j.common.logging.base.AbstractLogReader
getAppender, getEndDate, getLevel, getLimit, getMaxDate, getMinDate, getOffset, getStartDate, getThread, getThreadNames, remove, setEndDate, setLevel, setLimit, setOffset, setStartDate, setThread, supportsDateRanges, supportsLevelFilter, supportsThreadFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FileLogReader
public FileLogReader()Constructor -
FileLogReader
-
-
Method Details
-
setAppender
public void setAppender(ch.qos.logback.core.Appender<?> appender) Description copied from interface:LogReader
Logging appender associated with this reader.- Specified by:
setAppender
in interfaceLogReader
- Overrides:
setAppender
in classAbstractLogReader
- Parameters:
appender
- logging appender associated with this reader
-
init
-
isMoreAvailable
public boolean isMoreAvailable()Description copied from interface:LogReader
Check if more records are available after limit is reached.- Returns:
- true if more records are available
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<LogRecord>
- Specified by:
hasNext
in classAbstractLogReader
-
next
-
destroy
Description copied from interface:LogReader
Destroy the log reader and release all used resources.- Throws:
IOException
-