Example usage for Java org.apache.hadoop.hdfs DFSInotifyEventInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
long | getTxidsBehindEstimate() Return a estimate of how many transaction IDs behind the NameNode's current state this stream is. |
EventBatch | poll(long time, TimeUnit tu) Returns the next event batch in the stream, waiting up to the specified amount of time for a new batch. |
EventBatch | take() Returns the next batch of events in the stream, waiting indefinitely if a new batch is not immediately available. |