nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apiri <...@git.apache.org>
Subject [GitHub] nifi pull request: NIFI-1464, NIFI-78, NIFI-1487 Refactored Proces...
Date Mon, 15 Feb 2016 17:46:57 GMT
Github user apiri commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/210#discussion_r52926955
  
    --- Diff: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/StandardProcessScheduler.java
---
    @@ -288,171 +284,74 @@ public void run() {
         }
     
         /**
    -     * Starts scheduling the given processor to run after invoking all methods on the
underlying {@link org.apache.nifi.processor.Processor
    -     * FlowFileProcessor} that are annotated with the {@link OnScheduled} annotation.
    +     * Starts the given {@link Processor} by invoking its
    +     * {@link ProcessorNode#start(ScheduledExecutorService, long, org.apache.nifi.processor.ProcessContext,
Runnable)}
    +     * .
    +     * @see StandardProcessorNode#start(ScheduledExecutorService, long,
    +     *      org.apache.nifi.processor.ProcessContext, Runnable).
          */
         @Override
         public synchronized void startProcessor(final ProcessorNode procNode) {
    -        if (procNode.getScheduledState() == ScheduledState.DISABLED) {
    --- End diff --
    
    No worries and no rush.  Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message