public virtual void JobWasAdded() { if (IsActive) { AcquireJobsRunnable.JobWasAdded(); } }
public virtual void Shutdown() { lock (this) { if (!IsActive) { return; } _log.ShuttingDownTheJobExecutor(GetType().FullName); AcquireJobsRunnable.Stop(); StopExecutingJobs(); EnsureCleanup(); IsActive = false; } }