public class EventManager extends BaseTable
| Field | Type | Description |
|---|---|---|
| name | VARCHAR(255) | Primary Key |
| processid | VARCHAR(16) |
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
static String |
eventNameField |
static String |
processIDField |
dbInterface, tableName| Constructor and Description |
|---|
EventManager(IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createEvent(String eventName,
String processID)
Atomically create an event - and return false if the event already exists
|
void |
deinstall()
Uninstall.
|
void |
destroyEvent(String eventName)
Destroy an event
|
void |
install()
Install or upgrade this table.
|
void |
restart()
Clean up after all processIDs.
|
void |
restart(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, sleepForpublic static final String _rcsid
public static final String eventNameField
public static final String processIDField
public EventManager(IDBInterface database) throws ManifoldCFException
database - is the database handle.ManifoldCFExceptionpublic void install()
throws ManifoldCFException
ManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
ManifoldCFExceptionpublic void restart(String processID) throws ManifoldCFException
processID - is the processID to restart.ManifoldCFExceptionpublic void restart()
throws ManifoldCFException
ManifoldCFExceptionpublic void restartCluster()
throws ManifoldCFException
ManifoldCFExceptionpublic void createEvent(String eventName, String processID) throws ManifoldCFException
ManifoldCFExceptionpublic void destroyEvent(String eventName) throws ManifoldCFException
ManifoldCFException