コード例 #1
0
 public JobPurgeTimer(RetryPolicyProvider retryPolicyProvider, ManagerConfiguration managerConfiguration) : base(managerConfiguration.PurgeJobsIntervalHours * 60 * 60 * 1000)
 {
     _managerConfiguration = managerConfiguration;
     _retryPolicy          = retryPolicyProvider.GetPolicy();
     _connectionString     = managerConfiguration.ConnectionString;
     Elapsed += PurgeTimer_elapsed;
 }
コード例 #2
0
ファイル: JobPurgeTimer.cs プロジェクト: Teleopti/Stardust
		public JobPurgeTimer(RetryPolicyProvider retryPolicyProvider, ManagerConfiguration managerConfiguration) : base(managerConfiguration.PurgeJobsIntervalHours*60*60*1000)
		{
			_managerConfiguration = managerConfiguration;
			_retryPolicy = retryPolicyProvider.GetPolicy();
			_connectionString = managerConfiguration.ConnectionString;
			Elapsed += PurgeTimer_elapsed;
			Purge();
		}
コード例 #3
0
 public JobRepositoryCommandExecuter(RetryPolicyProvider retryPolicyProvider, HalfNodesAffinityPolicy halfNodesAffinityPolicy)
 {
     _halfNodesAffinityPolicy = halfNodesAffinityPolicy;
     _retryPolicy             = retryPolicyProvider.GetPolicy();
 }