Class CompoundUpdateMonitor
java.lang.Object
org.apache.nifi.util.file.monitor.CompoundUpdateMonitor
- All Implemented Interfaces:
UpdateMonitor
An
UpdateMonitor
that combines multiple UpdateMonitor
s 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-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
monitors
-
-
Constructor Details
-
CompoundUpdateMonitor
-
-
Method Details
-
getCurrentState
- Specified by:
getCurrentState
in interfaceUpdateMonitor
- Throws:
IOException
-