Codota Logo
JTANonClusteredSemaphore.releaseLock
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JFileChooser (javax.swing)
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now