Package org.apache.hadoop.hdfs.inotify
Class EventBatchList
java.lang.Object
org.apache.hadoop.hdfs.inotify.EventBatchList
Contains a list of event batches, the transaction ID in the edit log up to
which we read to produce these events, and the first txid we observed when
producing these events (the last of which is for the purpose of determining
whether we have missed events due to edit deletion). Also contains the most
recent txid that the NameNode has sync'ed, so the client can determine how
far behind in the edit log it is.
-
Constructor Summary
ConstructorsConstructorDescriptionEventBatchList(List<EventBatch> batches, long firstTxid, long lastTxid, long syncTxid) -
Method Summary
Modifier and TypeMethodDescriptionlonglonglong
-
Constructor Details
-
EventBatchList
-
-
Method Details
-
getBatches
-
getFirstTxid
public long getFirstTxid() -
getLastTxid
public long getLastTxid() -
getSyncTxid
public long getSyncTxid()
-