Package org.apache.zookeeper.graph
Interface LogSource
-
- All Superinterfaces:
java.lang.Iterable<LogEntry>
- All Known Implementing Classes:
Log4JSource
,MergedLogSource
,TxnLogSource
public interface LogSource extends java.lang.Iterable<LogEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getEndTime()
long
getStartTime()
LogIterator
iterator()
LogIterator
iterator(long starttime, long endtime)
LogIterator
iterator(long starttime, long endtime, FilterOp filter)
boolean
overlapsRange(long starttime, long endtime)
long
size()
-
-
-
Method Detail
-
iterator
LogIterator iterator(long starttime, long endtime, FilterOp filter) throws java.lang.IllegalArgumentException, FilterException
- Throws:
java.lang.IllegalArgumentException
FilterException
-
iterator
LogIterator iterator(long starttime, long endtime) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
iterator
LogIterator iterator() throws java.lang.IllegalArgumentException
- Specified by:
iterator
in interfacejava.lang.Iterable<LogEntry>
- Throws:
java.lang.IllegalArgumentException
-
overlapsRange
boolean overlapsRange(long starttime, long endtime)
-
size
long size()
-
getStartTime
long getStartTime()
-
getEndTime
long getEndTime()
-
-