|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
StdJDBCDelegate
Select the total number of jobs stored.
selectNumJobs
in interface DriverDelegate
selectNumJobs
in class StdJDBCDelegate
conn
- the DB Connection
SQLException
public int selectNumTriggersForJob(Connection conn, JobKey jobKey) throws SQLException
StdJDBCDelegate
Select the number of triggers associated with a given job.
selectNumTriggersForJob
in interface DriverDelegate
selectNumTriggersForJob
in class StdJDBCDelegate
conn
- the DB Connection
SQLException
public int selectNumTriggers(Connection conn) throws SQLException
StdJDBCDelegate
Select the total number of triggers stored.
selectNumTriggers
in interface DriverDelegate
selectNumTriggers
in class StdJDBCDelegate
conn
- the DB Connection
SQLException
public int selectNumCalendars(Connection conn) throws SQLException
StdJDBCDelegate
Select the total number of calendars stored.
selectNumCalendars
in interface DriverDelegate
selectNumCalendars
in class StdJDBCDelegate
conn
- the DB Connection
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |