Class AbstractLogReader
java.lang.Object
org.eclipse.rdf4j.common.logging.base.AbstractLogReader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionch.qos.logback.core.Appender
<?> Logging appender associated with this reader.End (latest) date of of the log records returned by this log reader.getLevel()
Level of the log records returned by this log reader.int
getLimit()
Get the limit.Max (latest) available date of the log records.Min (earliest) available date of the log records.int
Get the offsetStart (earliest) date of the log records returned by this log reader.Thread name of the log records returned by this log reader.All available thread names of the log records.abstract boolean
hasNext()
abstract LogRecord
next()
final void
remove()
void
setAppender
(ch.qos.logback.core.Appender<?> appender) Logging appender associated with this reader.void
setEndDate
(Date date) End (latest) date of of the log records returned by this log reader.void
Level of the log records returned by this log reader.void
setLimit
(int limit) Set the limitvoid
setOffset
(int offset) Set the offsetvoid
setStartDate
(Date date) Start (earliest) date of the log records returned by this log reader.void
Thread name of the log records returned by this log reader.boolean
Test if this LogReader implementation supports date-based records filtering.boolean
Test if this LogReader implementation supports level-based records filtering.boolean
Test if this LogReader implementation supports thread-based records filtering.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
Methods inherited from interface org.eclipse.rdf4j.common.logging.LogReader
destroy, init, isMoreAvailable
-
Constructor Details
-
AbstractLogReader
public AbstractLogReader()
-
-
Method Details
-
hasNext
-
next
-
remove
-
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
- Parameters:
appender
- logging appender associated with this reader
-
getAppender
public ch.qos.logback.core.Appender<?> getAppender()Description copied from interface:LogReader
Logging appender associated with this reader.- Specified by:
getAppender
in interfaceLogReader
- Returns:
- logging appender associated with this reader.
-
getEndDate
Description copied from interface:LogReader
End (latest) date of of the log records returned by this log reader.- Specified by:
getEndDate
in interfaceLogReader
- Returns:
- End date of the log records or 'null' if no end date has been set
-
getLevel
-
getStartDate
Description copied from interface:LogReader
Start (earliest) date of the log records returned by this log reader.- Specified by:
getStartDate
in interfaceLogReader
- Returns:
- Start date of the log records or 'null' if no start date has been set
-
setEndDate
Description copied from interface:LogReader
End (latest) date of of the log records returned by this log reader.- Specified by:
setEndDate
in interfaceLogReader
- Parameters:
date
- end date
-
setLevel
-
setStartDate
Description copied from interface:LogReader
Start (earliest) date of the log records returned by this log reader.- Specified by:
setStartDate
in interfaceLogReader
-
supportsDateRanges
public boolean supportsDateRanges()Description copied from interface:LogReader
Test if this LogReader implementation supports date-based records filtering.- Specified by:
supportsDateRanges
in interfaceLogReader
- Returns:
- true if date filtering is supported
-
getMaxDate
Description copied from interface:LogReader
Max (latest) available date of the log records.- Specified by:
getMaxDate
in interfaceLogReader
- Returns:
- maximum date
-
getMinDate
Description copied from interface:LogReader
Min (earliest) available date of the log records.- Specified by:
getMinDate
in interfaceLogReader
- Returns:
- minimum date
-
supportsLevelFilter
public boolean supportsLevelFilter()Description copied from interface:LogReader
Test if this LogReader implementation supports level-based records filtering.- Specified by:
supportsLevelFilter
in interfaceLogReader
- Returns:
- true if level filtering is supported.
-
getThread
-
setThread
-
supportsThreadFilter
public boolean supportsThreadFilter()Description copied from interface:LogReader
Test if this LogReader implementation supports thread-based records filtering.- Specified by:
supportsThreadFilter
in interfaceLogReader
- Returns:
- true if thread filtering is supported.
-
getLimit
-
setLimit
-
getOffset
-
setOffset
-
getThreadNames
Description copied from interface:LogReader
All available thread names of the log records.- Specified by:
getThreadNames
in interfaceLogReader
- Returns:
- a List of thread names of the log records.
-