Class CompoundUpdateMonitor

java.lang.Object
org.apache.nifi.util.file.monitor.CompoundUpdateMonitor
All Implemented Interfaces:
UpdateMonitor

public class CompoundUpdateMonitor extends Object implements UpdateMonitor
An UpdateMonitor that combines multiple UpdateMonitors such that it will indicate a change in a file only if ALL sub-monitors indicate a change. The sub-monitors will be applied in the order given and if any indicates that the state has not changed, the subsequent sub-monitors may not be given a chance to run