/** * <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); }
/** * @return whether the associated Job class carries the {@link PersistJobDataAfterExecution} annotation. */ public boolean isPersistJobDataAfterExecution() { return ClassUtils.isAnnotationPresent(jobClass, PersistJobDataAfterExecution.class); }
/** * Constructor * * @param jndiUrl * The url for the datasource */ public JNDIConnectionProvider(String jndiUrl, boolean alwaysLookup) { this.url = jndiUrl; this.alwaysLookup = alwaysLookup; init(); }
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); }
/** * {@inheritDoc} */ public TimeStampedCounterValue getMostRecentSample() { return this.history.peek(); }
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); }
/** * Returns true if the queue is empty, otherwise false * * @return true if the queue is empty, false otherwise */ public boolean isEmtpy() { return depth() == 0; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((compareTo == null) ? 0 : compareTo.hashCode()); return result; }
/** * <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); }
/** * @return whether the associated Job class carries the {@link DisallowConcurrentExecution} annotation. */ public boolean isConcurrentExectionDisallowed() { return ClassUtils.isAnnotationPresent(jobClass, DisallowConcurrentExecution.class); }
/** * Constructor * * @param jndiUrl * The url for the datasource */ public JNDIConnectionProvider(String jndiUrl, boolean alwaysLookup) { this.url = jndiUrl; this.alwaysLookup = alwaysLookup; init(); }
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); }
/** * {@inheritDoc} */ public TimeStampedCounterValue getMostRecentSample() { return this.history.peek(); }
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); }
/** * <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); }
/** * @return whether the associated Job class carries the {@link DisallowConcurrentExecution} annotation. */ public boolean isConcurrentExectionDisallowed() { return ClassUtils.isAnnotationPresent(jobClass, DisallowConcurrentExecution.class); }
/** * @return whether the associated Job class carries the {@link PersistJobDataAfterExecution} annotation. */ public boolean isPersistJobDataAfterExecution() { return ClassUtils.isAnnotationPresent(jobClass, PersistJobDataAfterExecution.class); }