|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.quartz.impl.jdbcjobstore Class DB2v6Delegate
java.lang.Objectorg.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.impl.jdbcjobstore.DB2v6Delegate
- All Implemented Interfaces:
- Constants, DriverDelegate, StdJDBCConstants
public class DB2v6Delegate
- extends StdJDBCDelegate
Quartz JDBC delegate for DB2 v6 databases. select count(name)
had to be replaced with select count(*).
- Author:
- Martin Renner, James House
| 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(org.slf4j.Logger logger,
String tablePrefix,
String schedName,
String instanceId,
org.quartz.spi.ClassLoadHelper classLoadHelper)
|
|
DB2v6Delegate(org.slf4j.Logger logger,
String tablePrefix,
String schedName,
String instanceId,
org.quartz.spi.ClassLoadHelper classLoadHelper,
Boolean useProperties)
|
|
| 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 |
|---|
SELECT_NUM_JOBS
public static final String SELECT_NUM_JOBS
- See Also:
- Constant Field Values
SELECT_NUM_TRIGGERS_FOR_JOB
public static final String SELECT_NUM_TRIGGERS_FOR_JOB
- See Also:
- Constant Field Values
SELECT_NUM_TRIGGERS
public static final String SELECT_NUM_TRIGGERS
- See Also:
- Constant Field Values
SELECT_NUM_CALENDARS
public static final String SELECT_NUM_CALENDARS
- See Also:
- Constant Field Values
| Constructor Detail |
|---|
DB2v6Delegate
public DB2v6Delegate(org.slf4j.Logger logger,
String tablePrefix,
String schedName,
String instanceId,
org.quartz.spi.ClassLoadHelper classLoadHelper)
DB2v6Delegate
public DB2v6Delegate(org.slf4j.Logger logger,
String tablePrefix,
String schedName,
String instanceId,
org.quartz.spi.ClassLoadHelper classLoadHelper,
Boolean useProperties)
| Method Detail |
|---|
selectNumJobs
public int selectNumJobs(Connection conn) throws SQLException
- Description copied from class:
StdJDBCDelegate Select the total number of jobs stored.
- Specified by:
selectNumJobsin interfaceDriverDelegate- Overrides:
selectNumJobsin classStdJDBCDelegate
- Parameters:
conn- the DB Connection- Returns:
- the total number of jobs stored
- Throws:
SQLException
selectNumTriggersForJob
public int selectNumTriggersForJob(Connection conn, JobKey jobKey) throws SQLException
- Description copied from class:
StdJDBCDelegate Select the number of triggers associated with a given job.
- Specified by:
selectNumTriggersForJobin interfaceDriverDelegate- Overrides:
selectNumTriggersForJobin classStdJDBCDelegate
- Parameters:
conn- the DB Connection- Returns:
- the number of triggers for the given job
- Throws:
SQLException
selectNumTriggers
public int selectNumTriggers(Connection conn) throws SQLException
- Description copied from class:
StdJDBCDelegate Select the total number of triggers stored.
- Specified by:
selectNumTriggersin interfaceDriverDelegate- Overrides:
selectNumTriggersin classStdJDBCDelegate
- Parameters:
conn- the DB Connection- Returns:
- the total number of triggers stored
- Throws:
SQLException
selectNumCalendars
public int selectNumCalendars(Connection conn) throws SQLException
- Description copied from class:
StdJDBCDelegate Select the total number of calendars stored.
- Specified by:
selectNumCalendarsin interfaceDriverDelegate- Overrides:
selectNumCalendarsin classStdJDBCDelegate
- Parameters:
conn- the DB Connection- Returns:
- the total number of calendars stored
- Throws:
SQLException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2001-2011, Terracotta, Inc.
