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

How to use
getLog
method
in
org.quartz.impl.jdbcjobstore.DBSemaphore

Best Java code snippets using org.quartz.impl.jdbcjobstore.DBSemaphore.getLog (Showing top 6 results out of 315)

origin: quartz-scheduler/quartz

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread.
 */
public void releaseLock(String lockName) {
  if (isLockOwner(lockName)) {
    if(getLog().isDebugEnabled()) {
      getLog().debug(
        "Lock '" + lockName + "' returned by: "
            + Thread.currentThread().getName());
    }
    getThreadLocks().remove(lockName);
    //getThreadLocksObtainer().remove(lockName);
  } else if (getLog().isDebugEnabled()) {
    getLog().warn(
      "Lock '" + lockName + "' attempt to return by: "
          + Thread.currentThread().getName()
          + " -- but not owner!",
      new Exception("stack-trace of wrongful returner"));
  }
}
origin: quartz-scheduler/quartz

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread.
 */
public void releaseLock(String lockName) {
  if (isLockOwner(lockName)) {
    if(getLog().isDebugEnabled()) {
      getLog().debug(
        "Lock '" + lockName + "' returned by: "
            + Thread.currentThread().getName());
    }
    getThreadLocks().remove(lockName);
    //getThreadLocksObtainer().remove(lockName);
  } else if (getLog().isDebugEnabled()) {
    getLog().warn(
      "Lock '" + lockName + "' attempt to return by: "
          + Thread.currentThread().getName()
          + " -- but not owner!",
      new Exception("stack-trace of wrongful returner"));
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread.
 */
public void releaseLock(Connection conn, String lockName) {
  lockName = lockName.intern();
  if (isLockOwner(conn, lockName)) {
    if(getLog().isDebugEnabled()) {
      getLog().debug(
        "Lock '" + lockName + "' returned by: "
            + Thread.currentThread().getName());
    }
    getThreadLocks().remove(lockName);
    //getThreadLocksObtainer().remove(lockName);
  } else if (getLog().isDebugEnabled()) {
    getLog().warn(
      "Lock '" + lockName + "' attempt to return by: "
          + Thread.currentThread().getName()
          + " -- but not owner!",
      new Exception("stack-trace of wrongful returner"));
  }
}
origin: quartz/quartz-all

/**
 * Release the lock on the identified resource if it is held by the calling
 * thread.
 */
public void releaseLock(Connection conn, String lockName) {
  lockName = lockName.intern();
  if (isLockOwner(conn, lockName)) {
    if(getLog().isDebugEnabled()) {
      getLog().debug(
        "Lock '" + lockName + "' returned by: "
            + Thread.currentThread().getName());
    }
    getThreadLocks().remove(lockName);
    //getThreadLocksObtainer().remove(lockName);
  } else if (getLog().isDebugEnabled()) {
    getLog().warn(
      "Lock '" + lockName + "' attempt to return by: "
          + Thread.currentThread().getName()
          + " -- but not owner!",
      new Exception("stack-trace of wrongful returner"));
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

Log log = getLog();
origin: quartz/quartz-all

Log log = getLog();
org.quartz.impl.jdbcjobstoreDBSemaphoregetLog

Popular methods of DBSemaphore

  • executeSQL
    Execute the SQL that will lock the proper database row.
  • getTablePrefix
  • getThreadLocks
  • isLockOwner
    Determine whether the calling thread owns a lock on the identified resource.
  • setExpandedSQL
  • setSQL
  • getSchedName
  • getSchedulerNameLiteral
  • setInsertSQL

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Runner (org.openjdk.jmh.runner)
  • 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