C# Class SenseNet.Search.Indexing.IndexingActivityManager

Responsible for registering, distributing and executing activities to maintain integrity in the Lucene index.
显示文件 Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
ExecuteActivity ( IndexingActivity activity, bool waitForComplete, bool distribute ) : void
ExecuteActivityDirect ( IndexingActivity activity ) : void
GetActivity ( int activityId ) : IndexingActivity
GetUnprocessedActivities ( IEnumerable missingActivities ) : SenseNet.Search.Indexing.IndexingActivity[]
GetUnprocessedActivities ( int lastActivityId, int &maxIdInDb, int top, int max ) : SenseNet.Search.Indexing.IndexingActivity[]
RegisterActivity ( IndexingActivity activity ) : void
UpdateActivity ( IndexingActivity activity ) : void

Private Methods

Method Description
CreateLucActivity ( IndexingActivity activity ) : LuceneIndexingActivity
DeleteAllActivities ( ) : void
GetLastActivityId ( ) : int

Method Details

ExecuteActivity() public static method

public static ExecuteActivity ( IndexingActivity activity, bool waitForComplete, bool distribute ) : void
activity IndexingActivity
waitForComplete bool
distribute bool
return void

ExecuteActivityDirect() public static method

public static ExecuteActivityDirect ( IndexingActivity activity ) : void
activity IndexingActivity
return void

GetActivity() public static method

public static GetActivity ( int activityId ) : IndexingActivity
activityId int
return IndexingActivity

GetUnprocessedActivities() public static method

public static GetUnprocessedActivities ( IEnumerable missingActivities ) : SenseNet.Search.Indexing.IndexingActivity[]
missingActivities IEnumerable
return SenseNet.Search.Indexing.IndexingActivity[]

GetUnprocessedActivities() public static method

public static GetUnprocessedActivities ( int lastActivityId, int &maxIdInDb, int top, int max ) : SenseNet.Search.Indexing.IndexingActivity[]
lastActivityId int
maxIdInDb int
top int
max int
return SenseNet.Search.Indexing.IndexingActivity[]

RegisterActivity() public static method

public static RegisterActivity ( IndexingActivity activity ) : void
activity IndexingActivity
return void

UpdateActivity() public static method

public static UpdateActivity ( IndexingActivity activity ) : void
activity IndexingActivity
return void