Tabnine Logo
DispatchCompletionEvent.getIndex
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.taverna.workflowmodel.processor.dispatch.events.DispatchCompletionEvent.getIndex (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.eventsDispatchCompletionEventgetIndex

Popular methods of DispatchCompletionEvent

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

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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