C# Class SenseNet.Search.Indexing.IndexingActivityManager

Responsible for registering, distributing and executing activities to maintain integrity in the Lucene index.
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateLucActivity ( IndexingActivity activity ) : LuceneIndexingActivity
DeleteAllActivities ( ) : void
GetLastActivityId ( ) : int

Method Details

ExecuteActivity() public static méthode

public static ExecuteActivity ( IndexingActivity activity, bool waitForComplete, bool distribute ) : void
activity IndexingActivity
waitForComplete bool
distribute bool
Résultat void

ExecuteActivityDirect() public static méthode

public static ExecuteActivityDirect ( IndexingActivity activity ) : void
activity IndexingActivity
Résultat void

GetActivity() public static méthode

public static GetActivity ( int activityId ) : IndexingActivity
activityId int
Résultat IndexingActivity

GetUnprocessedActivities() public static méthode

public static GetUnprocessedActivities ( IEnumerable missingActivities ) : SenseNet.Search.Indexing.IndexingActivity[]
missingActivities IEnumerable
Résultat SenseNet.Search.Indexing.IndexingActivity[]

GetUnprocessedActivities() public static méthode

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

RegisterActivity() public static méthode

public static RegisterActivity ( IndexingActivity activity ) : void
activity IndexingActivity
Résultat void

UpdateActivity() public static méthode

public static UpdateActivity ( IndexingActivity activity ) : void
activity IndexingActivity
Résultat void