EventBatch (Apache Hadoop HDFS Client 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.inotify, class: EventBatch

Package org.apache.hadoop.hdfs.inotify

# Class EventBatch

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

@Public public class EventBatch extends Object
A batch of events that all happened on the same transaction ID.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventBatch(long txid, Event[] events)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Event[]`
  `getEvents()`
  `long`
  `getTxid()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EventBatch

    public EventBatch(long txid, Event[] events)

- ## Method Details

  - ### getTxid

    public long getTxid()

  - ### getEvents

    public Event[] getEvents()