Class MergedLogSource
java.lang.Object
org.apache.zookeeper.graph.MergedLogSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlonglongiterator()iterator(long starttime, long endtime) static voidbooleanoverlapsRange(long starttime, long endtime) longsize()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
overlapsRangein interfaceLogSource
-
size
-
getStartTime
public long getStartTime()- Specified by:
getStartTimein interfaceLogSource
-
getEndTime
public long getEndTime()- Specified by:
getEndTimein interfaceLogSource
-
iterator
- Specified by:
iteratorin interfaceLogSource- Throws:
IllegalArgumentException
-
iterator
public LogIterator iterator(long starttime, long endtime, FilterOp filter) throws IllegalArgumentException, FilterException - Specified by:
iteratorin interfaceLogSource- Throws:
IllegalArgumentExceptionFilterException
-
iterator
-
addSource
- Throws:
IOException
-
toString
-
main
- Throws:
IOException
-