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

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

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

origin: quartz-scheduler/quartz

  public void afterCompletion(int status) {
    try {
      releaseLock(lockName, true);
    } catch (LockException e) {
      // Ignore as can't be thrown with fromSynchronization set to true
    }
  }
}
origin: quartz-scheduler/quartz

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread, unless currently in a JTA transaction.
 */
public synchronized void releaseLock(String lockName) throws LockException {
  releaseLock(lockName, false);
}

origin: quartz-scheduler/quartz

  public void afterCompletion(int status) {
    try {
      releaseLock(lockName, true);
    } catch (LockException e) {
      // Ignore as can't be thrown with fromSynchronization set to true
    }
  }
}
origin: quartz-scheduler/quartz

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread, unless currently in a JTA transaction.
 */
public synchronized void releaseLock(String lockName) throws LockException {
  releaseLock(lockName, false);
}

origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread, unless currently in a JTA transaction.
 */
public synchronized void releaseLock(Connection conn, String lockName) throws LockException {
  releaseLock(lockName, false);
}

origin: quartz/quartz-all

  public void afterCompletion(int status) {
    try {
      releaseLock(lockName, true);
    } catch (LockException e) {
      // Ignore as can't be thrown with fromSynchronization set to true
    }
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

  public void afterCompletion(int status) {
    try {
      releaseLock(lockName, true);
    } catch (LockException e) {
      // Ignore as can't be thrown with fromSynchronization set to true
    }
  }
}
origin: quartz/quartz-all

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread, unless currently in a JTA transaction.
 */
public synchronized void releaseLock(Connection conn, String lockName) throws LockException {
  releaseLock(lockName, false);
}

org.quartz.impl.jdbcjobstoreJTANonClusteredSemaphorereleaseLock

Javadoc

Release the lock on the identified resource if it is held by the calling thread, unless currently in a JTA transaction.

Popular methods of JTANonClusteredSemaphore

  • getLog
  • getThreadLocks
  • getTransaction
    Helper method to get the current javax.transaction.Transaction from the javax.transaction.Transacti
  • isLockOwner
    Determine whether the calling thread owns a lock on the identified resource.

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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