Codota Logo
AttributeRestoringConnectionInvocationHandler.getLog
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: quartz-scheduler/quartz

/**
 * Attempts to restore the auto commit and transaction isolation connection
 * attributes of the wrapped connection to their original values (if they
 * were overwritten).
 */
public void restoreOriginalAtributes() {
  try {
    if (overwroteOriginalAutoCommitValue) {
      conn.setAutoCommit(originalAutoCommitValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original auto commit setting.", t);
  }
  
  try {    
    if (overwroteOriginalTxIsolationValue) {
      conn.setTransactionIsolation(originalTxIsolationValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original transaction isolation setting.", t);
  }
}

origin: quartz-scheduler/quartz

/**
 * Attempts to restore the auto commit and transaction isolation connection
 * attributes of the wrapped connection to their original values (if they
 * were overwritten).
 */
public void restoreOriginalAtributes() {
  try {
    if (overwroteOriginalAutoCommitValue) {
      conn.setAutoCommit(originalAutoCommitValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original auto commit setting.", t);
  }
  
  try {    
    if (overwroteOriginalTxIsolationValue) {
      conn.setTransactionIsolation(originalTxIsolationValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original transaction isolation setting.", t);
  }
}

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

/**
 * Attempts to restore the auto commit and transaction isolation connection
 * attributes of the wrapped connection to their original values (if they
 * were overwritten).
 */
public void restoreOriginalAtributes() {
  try {
    if (overwroteOriginalAutoCommitValue) {
      conn.setAutoCommit(originalAutoCommitValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original auto commit setting.", t);
  }
  
  try {    
    if (overwroteOriginalTxIsolationValue) {
      conn.setTransactionIsolation(originalTxIsolationValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original transaction isolation setting.", t);
  }
}
 
origin: quartz/quartz-all

/**
 * Attempts to restore the auto commit and transaction isolation connection
 * attributes of the wrapped connection to their original values (if they
 * were overwritten).
 */
public void restoreOriginalAtributes() {
  try {
    if (overwroteOriginalAutoCommitValue) {
      conn.setAutoCommit(originalAutoCommitValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original auto commit setting.", t);
  }
  
  try {    
    if (overwroteOriginalTxIsolationValue) {
      conn.setTransactionIsolation(originalTxIsolationValue);
    }
  } catch (Throwable t) {
    getLog().warn("Failed restore connection's original transaction isolation setting.", t);
  }
}

org.quartz.impl.jdbcjobstoreAttributeRestoringConnectionInvocationHandlergetLog

Popular methods of AttributeRestoringConnectionInvocationHandler

  • <init>
  • close
    Attempts to restore the auto commit and transaction isolation connection attributes of the wrapped c
  • getWrappedConnection
    Gets the underlying connection to which all operations ultimately defer. This is provided in case a
  • restoreOriginalAtributes
    Attempts to restore the auto commit and transaction isolation connection attributes of the wrapped c
  • setAutoCommit
    Sets this connection's auto-commit mode to the given state, saving the original mode. The connection
  • setTransactionIsolation
    Attempts to change the transaction isolation level to the given level, saving the original level. Th

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • putExtra (Intent)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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