congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DispatchCompletionEvent.getOwningProcess
Code IndexAdd Tabnine to your IDE (free)

How to use
getOwningProcess
method
in
org.apache.taverna.workflowmodel.processor.dispatch.events.DispatchCompletionEvent

Best Java code snippets using org.apache.taverna.workflowmodel.processor.dispatch.events.DispatchCompletionEvent.getOwningProcess (Showing top 4 results out of 315)

origin: org.apache.taverna.engine/taverna-workflowmodel-extensions

/**
 * Only going to receive this if the activity invocation was streaming, in
 * which case we need to handle all completion events and pass them up the
 * stack.
 */
@Override
public void receiveResultCompletion(DispatchCompletionEvent completionEvent) {
  StateModel model;
  String owningProcess = completionEvent.getOwningProcess();
  synchronized(stateMap) {
    model = stateMap.get(owningProcess);
  }
  if (model == null) {
    logger.warn("Error received for unknown owning process: " + owningProcess);
    return;
  }
  model.finishWith(completionEvent.getIndex());
  getAbove().receiveResultCompletion(completionEvent);
}
origin: org.apache.taverna.engine/taverna-workflowmodel-api

/**
 * If we see a completion event with an index matching one of those in the
 * current retry state we can safely forget that state object
 */
@Override
public void receiveResultCompletion(DispatchCompletionEvent c) {
  forget(c.getOwningProcess(), c.getIndex());
  getAbove().receiveResultCompletion(c);
}
origin: org.apache.taverna.engine/taverna-workflowmodel-impl

@Override
public void receiveResultCompletion(
    DispatchCompletionEvent completionEvent) {
  Completion c = new Completion(completionEvent.getOwningProcess(),
      completionEvent.getIndex(), completionEvent.getContext());
  DispatchStackImpl.this.pushEvent(c);
  if (c.isFinal())
    sendCachePurge(c.getOwningProcess());
}
origin: org.apache.taverna.engine/taverna-workflowmodel-impl

@Override
public void receiveResultCompletion(DispatchCompletionEvent completionEvent) {
  System.out.println("  "
      + new Completion(completionEvent.getOwningProcess(),
          completionEvent.getIndex(), completionEvent
              .getContext()));
  getAbove().receiveResultCompletion(completionEvent);
}
org.apache.taverna.workflowmodel.processor.dispatch.eventsDispatchCompletionEventgetOwningProcess

Popular methods of DispatchCompletionEvent

  • getIndex
  • <init>
    Construct a new dispatch result completion event
  • getContext
  • popOwner
  • pushOwner

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now