@Documented @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface EventDriven
Annotation that may be placed on a Processor that indicates to the framework that the Processor is eligible to be scheduled to run based on the occurrence of an "Event" (e.g., when a FlowFile is enqueued in an incoming Connection), rather than being triggered periodically.
This Annotation should not be used in conjunction with
TriggerSerially or TriggerWhenEmpty. If this Annotation is
used with either of these other Annotations, the Processor will not be
eligible to be scheduled in Event-Driven mode.
Copyright © 2016 Apache NiFi Project. All rights reserved.