Class EventBatchList

java.lang.Object
org.apache.hadoop.hdfs.inotify.EventBatchList

@Private public class EventBatchList extends Object
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 Details

    • EventBatchList

      public EventBatchList(List<EventBatch> batches, long firstTxid, long lastTxid, long syncTxid)
  • Method Details

    • getBatches

      public List<EventBatch> getBatches()
    • getFirstTxid

      public long getFirstTxid()
    • getLastTxid

      public long getLastTxid()
    • getSyncTxid

      public long getSyncTxid()