Tabnine Logo
Engine.tryTransitionTerminate
Code IndexAdd Tabnine to your IDE (free)

How to use
tryTransitionTerminate
method
in
com.linkedin.parseq.Engine

Best Java code snippets using com.linkedin.parseq.Engine.tryTransitionTerminate (Showing top 4 results out of 315)

origin: linkedin/parseq

/**
 * If the engine is currently running, this method will initiate an orderly
 * shutdown. No new tasks will be accepted, but already running tasks will be
 * allowed to finish. Use {@link #awaitTermination(int, java.util.concurrent.TimeUnit)}
 * to wait for the engine to shutdown.
 * <p>
 * If the engine is already shutting down or stopped this method will have
 * no effect.
 */
public void shutdown() {
 if (tryTransitionShutdown()) {
  tryTransitionTerminate();
 }
}
origin: linkedin/parseq

tryTransitionTerminate();
origin: com.linkedin.parseq/parseq

/**
 * If the engine is currently running, this method will initiate an orderly
 * shutdown. No new tasks will be accepted, but already running tasks will be
 * allowed to finish. Use {@link #awaitTermination(int, java.util.concurrent.TimeUnit)}
 * to wait for the engine to shutdown.
 * <p>
 * If the engine is already shutting down or stopped this method will have
 * no effect.
 */
public void shutdown() {
 if (tryTransitionShutdown()) {
  tryTransitionTerminate();
 }
}
origin: com.linkedin.parseq/parseq

tryTransitionTerminate();
com.linkedin.parseqEnginetryTransitionTerminate

Popular methods of Engine

  • run
    Runs the given task. Task passed in as a parameter becomes a root on a new Plan. All tasks created a
  • shutdown
    If the engine is currently running, this method will initiate an orderly shutdown. No new tasks will
  • blockingRun
    Runs the given task. Task passed in as a parameter becomes a root on a new Plan. All tasks created a
  • tryRun
    Runs the given task if Engine has a capacity to start new plan as specified by #MAX_CONCURRENT_PLANS
  • <init>
  • acquirePermit
  • createTaskQueueFactory
  • defaultPlanClass
  • getProperty
  • runWithPermit
    Runs the given task with its own context. Use Tasks.seq and Tasks.par to create and run composite ta
  • tryAcquirePermit
  • tryTransitionShutdown
  • tryAcquirePermit,
  • tryTransitionShutdown,
  • awaitTermination,
  • isShutdown,
  • isTerminated

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Menu (java.awt)
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Sublime Text 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