Tabnine Logo
Flow.removeWithoutCompleting
Code IndexAdd Tabnine to your IDE (free)

How to use
removeWithoutCompleting
method
in
com.obsidiandynamics.flow.Flow

Best Java code snippets using com.obsidiandynamics.flow.Flow.removeWithoutCompleting (Showing top 1 results out of 315)

origin: com.obsidiandynamics.fulcrum/fulcrum-flow

 @Override
 public void cycle(WorkerThread thread) throws InterruptedException {
  if (current != null) {
   if (current.isAnchor()) {
    // skip the anchor
   } else if (current.isConfirmed()) {
    flow.removeWithoutCompleting(current.getId());
    complete = current;
   } else {
    if (complete != null) { 
     flow.complete(complete);
     complete = null;
    }
    
    Thread.sleep(CYCLE_IDLE_INTERVAL_MILLIS);
    return;
   }
  } else {
   Thread.sleep(CYCLE_IDLE_INTERVAL_MILLIS);
  }
  
  current = head.next();
  if (current != null) {
   head = current;
  } else if (complete != null) { 
   flow.complete(complete);
   complete = null;
  }
 }
}
com.obsidiandynamics.flowFlowremoveWithoutCompleting

Popular methods of Flow

  • <init>
  • begin
  • complete
  • terminate
    Terminates the flow, shutting down the worker thread and preventing further task executions.

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Join (org.hibernate.mapping)
  • Top 12 Jupyter Notebook extensions
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