コード例 #1
0
 protected override void OnStart()
 {
     if (retries != null)
     {
         var due = TimeSpan.FromSeconds(5);
         timer = timeKeeper.New(ProcessRequestedBulkRetryOperations, due, due);
     }
 }
コード例 #2
0
 protected override void OnStart()
 {
     persistence.WarmupMonitoringFromPersistence();
     timer = timeKeeper.New(CheckEndpoints, TimeSpan.Zero, TimeSpan.FromSeconds(5));
 }
コード例 #3
0
        protected override void OnStart()
        {
            var due = TimeSpan.FromHours(8);

            timer = timeKeeper.New(activeLicense.Refresh, due, due);
        }