Tabnine Logo
Semaphore.releaseLock
Code IndexAdd Tabnine to your IDE (free)

How to use
releaseLock
method
in
org.quartz.impl.jdbcjobstore.Semaphore

Best Java code snippets using org.quartz.impl.jdbcjobstore.Semaphore.releaseLock (Showing top 4 results out of 315)

origin: quartz-scheduler/quartz

protected void releaseLock(String lockName, boolean doIt) {
  if (doIt) {
    try {
      getLockHandler().releaseLock(lockName);
    } catch (LockException le) {
      getLog().error("Error returning lock: " + le.getMessage(), le);
    }
  }
}
origin: quartz-scheduler/quartz

protected void releaseLock(String lockName, boolean doIt) {
  if (doIt) {
    try {
      getLockHandler().releaseLock(lockName);
    } catch (LockException le) {
      getLog().error("Error returning lock: " + le.getMessage(), le);
    }
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

protected void releaseLock(Connection conn, String lockName, boolean doIt) {
  if (doIt && conn != null) {
    try {
      getLockHandler().releaseLock(conn, lockName);
    } catch (LockException le) {
      getLog().error("Error returning lock: " + le.getMessage(), le);
    }
  }
}
 
origin: quartz/quartz-all

protected void releaseLock(Connection conn, String lockName, boolean doIt) {
  if (doIt && conn != null) {
    try {
      getLockHandler().releaseLock(conn, lockName);
    } catch (LockException le) {
      getLog().error("Error returning lock: " + le.getMessage(), le);
    }
  }
}

org.quartz.impl.jdbcjobstoreSemaphorereleaseLock

Javadoc

Release the lock on the identified resource if it is held by the calling thread.

Popular methods of Semaphore

  • obtainLock
    Grants a lock on the identified resource to the calling thread (blocking until it is available).
  • requiresConnection
    Whether this Semaphore implementation requires a database connection for its lock management operati

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Permission (java.security)
    Legacy security code; do not use.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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