congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JobStoreSupport$ClusterManager.shutdown
Code IndexAdd Tabnine to your IDE (free)

How to use
shutdown
method
in
org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager

Best Java code snippets using org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.shutdown (Showing top 4 results out of 315)

origin: quartz-scheduler/quartz

clusterManagementThread.shutdown();
try {
  clusterManagementThread.join();
origin: quartz-scheduler/quartz

clusterManagementThread.shutdown();
try {
  clusterManagementThread.join();
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Called by the QuartzScheduler to inform the <code>JobStore</code> that
 * it should free up all of it's resources because the scheduler is
 * shutting down.
 * </p>
 */
public void shutdown() {
  if (clusterManagementThread != null) {
    clusterManagementThread.shutdown();
  }
  if (misfireHandler != null) {
    misfireHandler.shutdown();
  }
  
  try {
    DBConnectionManager.getInstance().shutdown(getDataSource());
  } catch (SQLException sqle) {
    getLog().warn("Database connection shutdown unsuccessful.", sqle);
  }        
}
origin: quartz/quartz-all

/**
 * <p>
 * Called by the QuartzScheduler to inform the <code>JobStore</code> that
 * it should free up all of it's resources because the scheduler is
 * shutting down.
 * </p>
 */
public void shutdown() {
  if (clusterManagementThread != null) {
    clusterManagementThread.shutdown();
  }
  if (misfireHandler != null) {
    misfireHandler.shutdown();
  }
  
  try {
    DBConnectionManager.getInstance().shutdown(getDataSource());
  } catch (SQLException sqle) {
    getLog().warn("Database connection shutdown unsuccessful.", sqle);
  }        
}
org.quartz.impl.jdbcjobstoreJobStoreSupport$ClusterManagershutdown

Popular methods of JobStoreSupport$ClusterManager

  • <init>
  • initialize
  • interrupt
  • manage
  • setContextClassLoader
  • setDaemon
  • setName
  • setPriority
  • join
  • start

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • CodeWhisperer alternatives
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