|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An implementation of of this interface provides database specific JDBC access that is not portable accros RDBMS systems.
Method Summary | |
void |
clearTimers()
Clear all persisted timers |
void |
createTableIfNotExists()
Create the timers table if it does not exist already |
void |
deleteTimer(java.lang.String timerId,
TimedObjectId (src) timedObjectId)
Delete a timer. |
java.lang.String |
getColumnInfo()
Get the info column name |
java.lang.String |
getColumnInitialDate()
Get the initial date column name |
java.lang.String |
getColumnInstancePK()
Get the instance PK column name |
java.lang.String |
getColumnTargetID()
Get the target ID column name |
java.lang.String |
getColumnTimerID()
Get the timer ID column name |
java.lang.String |
getColumnTimerInterval()
Get the timer interval column name |
java.lang.String |
getTableName()
Get the timer table name |
void |
init(MBeanServer (src) server,
ObjectName (src) dataSource)
Initialize the plugin |
void |
insertTimer(java.lang.String timerId,
TimedObjectId (src) timedObjectId,
java.util.Date initialExpiration,
long intervalDuration,
java.io.Serializable info)
Insert a timer object |
java.util.List |
selectTimers()
Select a list of currently persisted timer handles |
Method Detail |
public void init(MBeanServer (src) server, ObjectName (src) dataSource) throws java.sql.SQLException
java.sql.SQLException
public void createTableIfNotExists() throws java.sql.SQLException
java.sql.SQLException
public void insertTimer(java.lang.String timerId, TimedObjectId (src) timedObjectId, java.util.Date initialExpiration, long intervalDuration, java.io.Serializable info) throws java.sql.SQLException
java.sql.SQLException
public java.util.List selectTimers() throws java.sql.SQLException
java.sql.SQLException
public void deleteTimer(java.lang.String timerId, TimedObjectId (src) timedObjectId) throws java.sql.SQLException
java.sql.SQLException
public void clearTimers() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getTableName()
public java.lang.String getColumnTimerID()
public java.lang.String getColumnTargetID()
public java.lang.String getColumnInitialDate()
public java.lang.String getColumnTimerInterval()
public java.lang.String getColumnInstancePK()
public java.lang.String getColumnInfo()
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |