congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JTANonClusteredSemaphore.getThreadLocks
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: quartz-scheduler/quartz

/**
 * Determine whether the calling thread owns a lock on the identified
 * resource.
 */
public synchronized boolean isLockOwner(Connection conn, String lockName) {
  lockName = lockName.intern();
  return getThreadLocks().contains(lockName);
}
origin: quartz-scheduler/quartz

/**
 * Determine whether the calling thread owns a lock on the identified
 * resource.
 */
public synchronized boolean isLockOwner(Connection conn, String lockName) {
  lockName = lockName.intern();
  return getThreadLocks().contains(lockName);
}
origin: quartz-scheduler/quartz

  getThreadLocks().add(lockName);
  locks.add(lockName);
} else if(log.isDebugEnabled()) {
origin: quartz-scheduler/quartz

  getThreadLocks().add(lockName);
  locks.add(lockName);
} else if(log.isDebugEnabled()) {
origin: quartz-scheduler/quartz

        + Thread.currentThread().getName());
getThreadLocks().remove(lockName);
locks.remove(lockName);
this.notify();
origin: quartz-scheduler/quartz

        + Thread.currentThread().getName());
getThreadLocks().remove(lockName);
locks.remove(lockName);
this.notify();
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * Determine whether the calling thread owns a lock on the identified
 * resource.
 */
public synchronized boolean isLockOwner(Connection conn, String lockName) {
  lockName = lockName.intern();
  return getThreadLocks().contains(lockName);
}
origin: quartz/quartz-all

/**
 * Determine whether the calling thread owns a lock on the identified
 * resource.
 */
public synchronized boolean isLockOwner(Connection conn, String lockName) {
  lockName = lockName.intern();
  return getThreadLocks().contains(lockName);
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

  getThreadLocks().add(lockName);
  locks.add(lockName);
} else if(log.isDebugEnabled()) {
origin: quartz/quartz-all

  getThreadLocks().add(lockName);
  locks.add(lockName);
} else if(log.isDebugEnabled()) {
origin: com.opensymphony.quartz/com.springsource.org.quartz

        + Thread.currentThread().getName());
getThreadLocks().remove(lockName);
locks.remove(lockName);
this.notify();
origin: quartz/quartz-all

        + Thread.currentThread().getName());
getThreadLocks().remove(lockName);
locks.remove(lockName);
this.notify();
org.quartz.impl.jdbcjobstoreJTANonClusteredSemaphoregetThreadLocks

Popular methods of JTANonClusteredSemaphore

  • getLog
  • 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.
  • releaseLock
    Release the lock on the identified resource if it is held by the calling thread, unless currently in

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Vim 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