Package org.apache.zookeeper.graph
Class MergedLogSource
java.lang.Object
org.apache.zookeeper.graph.MergedLogSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
long
iterator()
iterator
(long starttime, long endtime) static void
boolean
overlapsRange
(long starttime, long endtime) long
size()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
sources
-
-
Constructor Details
-
MergedLogSource
- Throws:
IOException
-
-
Method Details
-
overlapsRange
public boolean overlapsRange(long starttime, long endtime) - Specified by:
overlapsRange
in interfaceLogSource
-
size
public long size() -
getStartTime
public long getStartTime()- Specified by:
getStartTime
in interfaceLogSource
-
getEndTime
public long getEndTime()- Specified by:
getEndTime
in interfaceLogSource
-
iterator
- Specified by:
iterator
in interfaceLogSource
- Throws:
IllegalArgumentException
-
iterator
public LogIterator iterator(long starttime, long endtime, FilterOp filter) throws IllegalArgumentException, FilterException - Specified by:
iterator
in interfaceLogSource
- Throws:
IllegalArgumentException
FilterException
-
iterator
-
addSource
- Throws:
IOException
-
toString
-
main
- Throws:
IOException
-