Tabnine Logo
Terminator.terminate
Code IndexAdd Tabnine to your IDE (free)

How to use
terminate
method
in
com.obsidiandynamics.worker.Terminator

Best Java code snippets using com.obsidiandynamics.worker.Terminator.terminate (Showing top 6 results out of 315)

origin: com.obsidiandynamics.blackstrom/blackstrom-core

@Override
public Joinable terminate() {
 synchronized (terminateLock) {
  // as flows are created lazily, it's possible that some flows are created after termination of
  // this container; this flag ensures that new flows are stillborn
  terminated = true;
  Terminator.of(createdFlows).terminate();
 }
 return this;
}
origin: com.obsidiandynamics.jackdaw/jackdaw-core

@Override
public Joinable terminate() {
 Terminator.blank().add(Optional.ofNullable(thread)).terminate();
 return this;
}
origin: com.obsidiandynamics.blackstrom/blackstrom-core

 @Override
 public void dispose() {
  Terminator.of(threads).terminate().joinSilently();
 }
}
origin: com.obsidiandynamics.jackdaw/jackdaw-core

@Override
public Joinable terminate() {
 Terminator.blank().add(Optional.ofNullable(thread)).terminate();
 closeProducer();
 return this;
}

origin: com.obsidiandynamics.meteor/meteor-core

@Override
public Joinable terminate() {
 if (leaseCandidate != null) {
  deactivate(ExceptionHandler.nop());
 }
 
 Terminator.blank()
 .add(Optional.ofNullable(receiver))
 .add(Optional.ofNullable(keeperThread))
 .add(Optional.ofNullable(election))
 .terminate();
 return this;
}
origin: com.obsidiandynamics.blackstrom/blackstrom-core

 @Override
 public void dispose() {
  Terminator.blank()
  .add(Optional.ofNullable(gcThread))
  .add(timeoutThread)
  .terminate()
  .joinSilently();
 }
}
com.obsidiandynamics.workerTerminatorterminate

Popular methods of Terminator

  • add
  • blank
  • <init>
  • of

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JTable (javax.swing)
  • Top PhpStorm 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