Package org.apache.zookeeper.graph
Class TxnLogSource
java.lang.Object
org.apache.zookeeper.graph.TxnLogSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
static boolean
isTransactionFile
(String file) 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
-
Constructor Details
-
TxnLogSource
- 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
-
getSkipList
-
isTransactionFile
- Throws:
IOException
-
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
-
toString
-
main
- Throws:
IOException
FilterException
-