Пример #1
0
 private void HandleStoreWorkerJobCompleted(object sender, JobCompletedEventArgs e)
 {
     if (JobCompleted != null)
     {
         JobCompleted(this, e);
     }
 }
Пример #2
0
 private void HandleStoreWorkerJobCompleted(object sender, JobCompletedEventArgs e)
 {
     if (JobCompleted != null)
     {
         JobCompleted(this, e);
     }
 }
Пример #3
0
 private void OnJobCompleted(object sender, JobCompletedEventArgs e)
 {
     var jobStatus = _serverCore.GetJobStatus(e.StoreId, e.CompletedJob.JobId.ToString());
     if (jobStatus != null && jobStatus.JobStatus == JobStatus.TransactionError)
     {
         // Because all transactions should be processable, this indicates a hardware problem or persistent software problem
         _serverCore.Shutdown(true);
         _state = CoreState.Broken;
     }
     _storeInfo[e.StoreId].Commit(e.CompletedJob.JobId);
 }