Codota Logo
org.quartz.utils
Code IndexAdd Codota to your IDE (free)

How to use org.quartz.utils

Best Java code snippets using org.quartz.utils (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Adds the given <code>String</code> value to the <code>StringKeyDirtyFlagMap</code>.
 * </p>
 */
public void put(String key, String value) {
  super.put(key, value);
}
origin: quartz-scheduler/quartz

/**
 * @return whether the associated Job class carries the {@link PersistJobDataAfterExecution} annotation.
 */
public boolean isPersistJobDataAfterExecution() {
  return ClassUtils.isAnnotationPresent(jobClass, PersistJobDataAfterExecution.class);
}
origin: quartz-scheduler/quartz

/**
 * Constructor
 * 
 * @param jndiUrl
 *          The url for the datasource
 */
public JNDIConnectionProvider(String jndiUrl, boolean alwaysLookup) {
  this.url = jndiUrl;
  this.alwaysLookup = alwaysLookup;
  init();
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Return the string representation of the key. The format will be:
 * &lt;group&gt;.&lt;name&gt;.
 * </p>
 * 
 * @return the string representation of the key
 */
@Override
public String toString() {
  return getGroup() + '.' + getName();
}
origin: quartz-scheduler/quartz

/**
 * {@inheritDoc}
 */
public TimeStampedCounterValue[] getAllSampleValues() {
  return this.history.toArray(new TimeStampedCounterValue[this.history.depth()]);
}
origin: quartz-scheduler/quartz

/**
 * {@inheritDoc}
 */
public TimeStampedCounterValue getMostRecentSample() {
  return this.history.peek();
}
origin: quartz-scheduler/quartz

public C3p0PoolingConnectionProvider(String dbDriver, String dbURL,
                   String dbUser, String dbPassword, int maxConnections,
                   String dbValidationQuery) throws SQLException, SchedulerException {
  initialize(
      dbDriver, dbURL, dbUser, dbPassword,
      maxConnections, DEFAULT_DB_MAX_CACHED_STATEMENTS_PER_CONNECTION, dbValidationQuery, false, 50, 0);
}
origin: quartz-scheduler/quartz

public HikariCpPoolingConnectionProvider(String dbDriver, String dbURL,
                     String dbUser, String dbPassword, int maxConnections,
                     String dbValidationQuery) throws SQLException, SchedulerException {
  initialize(
      dbDriver, dbURL, dbUser, dbPassword,
      maxConnections, dbValidationQuery, 0);
}
origin: quartz-scheduler/quartz

/**
 * Returns true if the queue is empty, otherwise false
 * 
 * @return true if the queue is empty, false otherwise
 */
public boolean isEmtpy() {
  return depth() == 0;
}
origin: quartz-scheduler/quartz

@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result
      + ((compareTo == null) ? 0 : compareTo.hashCode());
  return result;
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Adds the given <code>Object</code> value to the <code>StringKeyDirtyFlagMap</code>.
 * </p>
 */
@Override
public Object put(String key, Object value) {
  return super.put((String)key, value);
}

origin: quartz-scheduler/quartz

/**
 * @return whether the associated Job class carries the {@link DisallowConcurrentExecution} annotation.
 */
public boolean isConcurrentExectionDisallowed() {
  
  return ClassUtils.isAnnotationPresent(jobClass, DisallowConcurrentExecution.class);
}
origin: quartz-scheduler/quartz

/**
 * Constructor
 * 
 * @param jndiUrl
 *          The url for the datasource
 */
public JNDIConnectionProvider(String jndiUrl, boolean alwaysLookup) {
  this.url = jndiUrl;
  this.alwaysLookup = alwaysLookup;
  init();
}
origin: quartz-scheduler/quartz

/**
 * {@inheritDoc}
 */
public TimeStampedCounterValue[] getAllSampleValues() {
  return this.history.toArray(new TimeStampedCounterValue[this.history.depth()]);
}
origin: quartz-scheduler/quartz

/**
 * {@inheritDoc}
 */
public TimeStampedCounterValue getMostRecentSample() {
  return this.history.peek();
}
origin: quartz-scheduler/quartz

public C3p0PoolingConnectionProvider(String dbDriver, String dbURL,
                   String dbUser, String dbPassword, int maxConnections,
                   String dbValidationQuery) throws SQLException, SchedulerException {
  initialize(
      dbDriver, dbURL, dbUser, dbPassword,
      maxConnections, DEFAULT_DB_MAX_CACHED_STATEMENTS_PER_CONNECTION, dbValidationQuery, false, 50, 0);
}
origin: quartz-scheduler/quartz

public HikariCpPoolingConnectionProvider(String dbDriver, String dbURL,
                     String dbUser, String dbPassword, int maxConnections,
                     String dbValidationQuery) throws SQLException, SchedulerException {
  initialize(
      dbDriver, dbURL, dbUser, dbPassword,
      maxConnections, dbValidationQuery, 0);
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Adds the given <code>Object</code> value to the <code>StringKeyDirtyFlagMap</code>.
 * </p>
 */
@Override
public Object put(String key, Object value) {
  return super.put((String)key, value);
}

origin: quartz-scheduler/quartz

/**
 * @return whether the associated Job class carries the {@link DisallowConcurrentExecution} annotation.
 */
public boolean isConcurrentExectionDisallowed() {
  
  return ClassUtils.isAnnotationPresent(jobClass, DisallowConcurrentExecution.class);
}
origin: quartz-scheduler/quartz

/**
 * @return whether the associated Job class carries the {@link PersistJobDataAfterExecution} annotation.
 */
public boolean isPersistJobDataAfterExecution() {
  return ClassUtils.isAnnotationPresent(jobClass, PersistJobDataAfterExecution.class);
}
org.quartz.utils

Most used classes

  • DBConnectionManager
    Manages a collection of ConnectionProviders, and provides transparent access to their connections.
  • Key
    Object representing a job or trigger key.
  • PropertiesParser
    This is an utility calss used to parse the properties.
  • DirtyFlagMap
    Wrap an Iterator so that we can mark the DirtyFlagMap as dirty if an element is removed.
  • PoolingConnectionProvider
    A ConnectionProvider implementation that creates its own pool of connections. This class uses DBC
  • DirtyFlagMap$DirtyFlagCollection,
  • DirtyFlagMap$DirtyFlagMapEntrySet,
  • DirtyFlagMap$DirtyFlagSet,
  • JNDIConnectionProvider,
  • StringKeyDirtyFlagMap,
  • ClassUtils,
  • FindbugsSuppressWarnings,
  • C3p0PoolingConnectionProvider,
  • CircularLossyQueue,
  • DirtyFlagMap$DirtyFlagIterator,
  • DirtyFlagMap$DirtyFlagMapEntry,
  • DirtyFlagMap$DirtyFlagMapEntryIterator,
  • ExceptionHelper,
  • HikariCpPoolingConnectionProvider
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