Codota Logo
DBSemaphore.getLog
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
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