CreateLuceneActivity() 개인적인 메소드

private CreateLuceneActivity ( ) : LuceneIndexingActivity
리턴 LuceneIndexingActivity
예제 #1
0
        public static void ExecuteActivity(IndexingActivity activity, bool waitForComplete, bool distribute)
        {
            var lucAct = activity.CreateLuceneActivity();

            if (distribute)
            {
                lucAct.Distribute();
            }
            lucAct.InternalExecute();
            if (waitForComplete)
            {
                lucAct.WaitForComplete();
            }
        }
예제 #2
0
        public static void ExecuteActivityDirect(IndexingActivity activity)
        {
            var lucAct = activity.CreateLuceneActivity();

            lucAct.Execute();
        }
예제 #3
0
 public static void ExecuteActivity(IndexingActivity activity, bool waitForComplete, bool distribute)
 {
     var lucAct = activity.CreateLuceneActivity();
     //TODO: we need to call waitmultiple here
     if (distribute)
         lucAct.Distribute();
     lucAct.InternalExecute();
     if (waitForComplete)
         lucAct.WaitForComplete();
 }
예제 #4
0
 public static void ExecuteActivityDirect(IndexingActivity activity)
 {
     var lucAct = activity.CreateLuceneActivity();
     lucAct.Execute();
 }