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, sleepFor
public 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.ManifoldCFException
public void install() throws ManifoldCFException
ManifoldCFException
public void deinstall() throws ManifoldCFException
ManifoldCFException
public void restart(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(String eventName, String processID) throws ManifoldCFException
ManifoldCFException
public void destroyEvent(String eventName) throws ManifoldCFException
ManifoldCFException