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, sleepForpublic 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.ManifoldCFExceptionpublic void install()
throws ManifoldCFException
ManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
ManifoldCFExceptionpublic void restart(java.lang.String processID)
throws ManifoldCFException
processID - is the processID to restart.ManifoldCFExceptionpublic void restart()
throws ManifoldCFException
ManifoldCFExceptionpublic void restartCluster()
throws ManifoldCFException
ManifoldCFExceptionpublic void createEvent(java.lang.String eventName,
java.lang.String processID)
throws ManifoldCFException
ManifoldCFExceptionpublic void destroyEvent(java.lang.String eventName)
throws ManifoldCFException
ManifoldCFException