Class TxnLogSource
java.lang.Object
org.apache.zookeeper.graph.TxnLogSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongstatic booleanisTransactionFile(String file) iterator()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
-
Constructor Details
-
TxnLogSource
- 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
-
getSkipList
-
isTransactionFile
- Throws:
IOException
-
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
-
toString
-
main
- Throws:
IOExceptionFilterException
-