public class EventManager extends BaseTable
Field | Type | Description |
---|---|---|
name | VARCHAR(255) | Primary Key |
processid | VARCHAR(16) |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
static java.lang.String |
eventNameField |
static java.lang.String |
processIDField |
dbInterface, tableName
Constructor and Description |
---|
EventManager(IDBInterface database)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createEvent(java.lang.String eventName,
java.lang.String processID)
Atomically create an event - and return false if the event already exists
|
void |
deinstall()
Uninstall.
|
void |
destroyEvent(java.lang.String eventName)
Destroy an event
|
void |
install()
Install or upgrade this table.
|
void |
restart()
Clean up after all processIDs.
|
void |
restart(java.lang.String processID)
Prepare for restart.
|
void |
restartCluster()
Restart cluster.
|
addTableIndex, analyzeTable, beginTransaction, buildConjunctionClause, constructCountClause, constructDistinctOnClause, constructDoubleCastClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, findConjunctionClauseMax, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getSleepAmt, getTableIndexes, getTableName, getTableSchema, getTransactionID, getWindowedReportMaxRows, makeTableKey, noteModifications, performAddIndex, performAlter, performCommit, performCreate, performDelete, performDrop, performInsert, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback, sleepFor
public static final java.lang.String _rcsid
public static final java.lang.String eventNameField
public static final java.lang.String processIDField
public EventManager(IDBInterface database) throws ManifoldCFException
database
- is the database handle.ManifoldCFException
public void install() throws ManifoldCFException
ManifoldCFException
public void deinstall() throws ManifoldCFException
ManifoldCFException
public void restart(java.lang.String processID) throws ManifoldCFException
processID
- is the processID to restart.ManifoldCFException
public void restart() throws ManifoldCFException
ManifoldCFException
public void restartCluster() throws ManifoldCFException
ManifoldCFException
public void createEvent(java.lang.String eventName, java.lang.String processID) throws ManifoldCFException
ManifoldCFException
public void destroyEvent(java.lang.String eventName) throws ManifoldCFException
ManifoldCFException