|
|||||||||||
PREV CLASS NEXT CLASS | 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(String timerId,
TimedObjectId timedObjectId)
Delete a timer. |
String |
getColumnInfo()
Get the info column name |
String |
getColumnInitialDate()
Get the initial date column name |
String |
getColumnInstancePK()
Get the instance PK column name |
String |
getColumnTargetID()
Get the target ID column name |
String |
getColumnTimerID()
Get the timer ID column name |
String |
getColumnTimerInterval()
Get the timer interval column name |
String |
getTableName()
Get the timer table name |
void |
init(javax.management.MBeanServer server,
javax.management.ObjectName dataSource)
Initialize the plugin |
void |
insertTimer(String timerId,
TimedObjectId timedObjectId,
Date initialExpiration,
long intervalDuration,
Serializable info)
Insert a timer object |
List |
selectTimers()
Select a list of currently persisted timer handles |
Method Detail |
public void init(javax.management.MBeanServer server, javax.management.ObjectName dataSource) throws SQLException
SQLException
public void createTableIfNotExists() throws SQLException
SQLException
public void insertTimer(String timerId, TimedObjectId timedObjectId, Date initialExpiration, long intervalDuration, Serializable info) throws SQLException
SQLException
public List selectTimers() throws SQLException
SQLException
public void deleteTimer(String timerId, TimedObjectId timedObjectId) throws SQLException
SQLException
public void clearTimers() throws SQLException
SQLException
public String getTableName()
public String getColumnTimerID()
public String getColumnTargetID()
public String getColumnInitialDate()
public String getColumnTimerInterval()
public String getColumnInstancePK()
public String getColumnInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |