|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabasePersistencePlugin
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(javax.management.ObjectName containerId)
Select a list of currently persisted timer handles |
Method Detail |
---|
void init(javax.management.MBeanServer server, javax.management.ObjectName dataSource) throws SQLException
SQLException
void createTableIfNotExists() throws SQLException
SQLException
void insertTimer(String timerId, TimedObjectId timedObjectId, Date initialExpiration, long intervalDuration, Serializable info) throws SQLException
SQLException
List selectTimers(javax.management.ObjectName containerId) throws SQLException
SQLException
void deleteTimer(String timerId, TimedObjectId timedObjectId) throws SQLException
SQLException
void clearTimers() throws SQLException
SQLException
String getTableName()
String getColumnTimerID()
String getColumnTargetID()
String getColumnInitialDate()
String getColumnTimerInterval()
String getColumnInstancePK()
String getColumnInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |