|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.impl.jdbcjobstore.DB2v6Delegate
public class DB2v6Delegate
Quartz JDBC delegate for DB2 v6 databases. select count(name)
had to be replaced with select count(*).
| Field Summary | |
|---|---|
static String |
SELECT_NUM_CALENDARS
|
static String |
SELECT_NUM_JOBS
|
static String |
SELECT_NUM_TRIGGERS
|
static String |
SELECT_NUM_TRIGGERS_FOR_JOB
|
| Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
|---|
classLoadHelper, instanceId, logger, schedName, tablePrefix, triggerPersistenceDelegates, useProperties |
| Constructor Summary | |
|---|---|
DB2v6Delegate()
|
|
| Method Summary | |
|---|---|
int |
selectNumCalendars(Connection conn)
Select the total number of calendars stored. |
int |
selectNumJobs(Connection conn)
Select the total number of jobs stored. |
int |
selectNumTriggers(Connection conn)
Select the total number of triggers stored. |
int |
selectNumTriggersForJob(Connection conn,
JobKey jobKey)
Select the number of triggers associated with a given job. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SELECT_NUM_JOBS
public static final String SELECT_NUM_TRIGGERS_FOR_JOB
public static final String SELECT_NUM_TRIGGERS
public static final String SELECT_NUM_CALENDARS
| Constructor Detail |
|---|
public DB2v6Delegate()
| Method Detail |
|---|
public int selectNumJobs(Connection conn)
throws SQLException
StdJDBCDelegateSelect the total number of jobs stored.
selectNumJobs in interface DriverDelegateselectNumJobs in class StdJDBCDelegateconn - the DB Connection
SQLException
public int selectNumTriggersForJob(Connection conn,
JobKey jobKey)
throws SQLException
StdJDBCDelegateSelect the number of triggers associated with a given job.
selectNumTriggersForJob in interface DriverDelegateselectNumTriggersForJob in class StdJDBCDelegateconn - the DB Connection
SQLException
public int selectNumTriggers(Connection conn)
throws SQLException
StdJDBCDelegateSelect the total number of triggers stored.
selectNumTriggers in interface DriverDelegateselectNumTriggers in class StdJDBCDelegateconn - the DB Connection
SQLException
public int selectNumCalendars(Connection conn)
throws SQLException
StdJDBCDelegateSelect the total number of calendars stored.
selectNumCalendars in interface DriverDelegateselectNumCalendars in class StdJDBCDelegateconn - the DB Connection
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||