OnUnscheduled
annotation.@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @Inherited @Deprecated public @interface OnUnscheduled
Marker annotation a processor implementation can use to indicate a method
should be called whenever the processor is no longer scheduled to run.
Methods marked with this annotation will be invoked each time the framework
is notified to stop scheduling the processor. This method is invoked as other
threads are potentially running. To invoke a method after all threads have
finished processing, see the OnStopped
annotation.
Copyright © 2015 Apache NiFi Project. All rights reserved.