|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.core.database.BaseTable
org.apache.manifoldcf.crawler.jobs.EventManager
public class EventManager
This class manages the events table. A row in this table indicates that a specific event sequence is in progress. For example, a login sequence for a specific web domain may be underway. During the time that the event is taking place, no documents that depend on that event will be queued for processing.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
static java.lang.String |
eventNameField
|
| Fields inherited from class org.apache.manifoldcf.core.database.BaseTable |
|---|
dbInterface, tableName |
| Constructor Summary | |
|---|---|
EventManager(IDBInterface database)
Constructor. |
|
| Method Summary | |
|---|---|
void |
createEvent(java.lang.String eventName)
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()
Prepare for restart. |
| Methods inherited from class org.apache.manifoldcf.core.database.BaseTable |
|---|
addTableIndex, analyzeTable, beginTransaction, constructDistinctOnClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getTableIndexes, getTableName, getTableSchema, getTransactionID, makeTableKey, noteModifications, performAddIndex, performAlter, performCreate, performDelete, performDrop, performInsert, performLock, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
public static final java.lang.String eventNameField
| Constructor Detail |
|---|
public EventManager(IDBInterface database)
throws ManifoldCFException
database - is the database handle.
ManifoldCFException| Method Detail |
|---|
public void install()
throws ManifoldCFException
ManifoldCFException
public void deinstall()
throws ManifoldCFException
ManifoldCFException
public void restart()
throws ManifoldCFException
ManifoldCFException
public void createEvent(java.lang.String eventName)
throws ManifoldCFException
ManifoldCFException
public void destroyEvent(java.lang.String eventName)
throws ManifoldCFException
ManifoldCFException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||