コード例 #1
0
 public PreferLocalPlacementTestGrain(
     OverloadDetector overloadDetector,
     TestHooksHostEnvironmentStatistics hostEnvironmentStatistics,
     IOptions <LoadSheddingOptions> loadSheddingOptions)
     : base(overloadDetector, hostEnvironmentStatistics, loadSheddingOptions)
 {
 }
コード例 #2
0
 public ActivationCountBasedPlacementTestGrain(
     OverloadDetector overloadDetector,
     TestHooksHostEnvironmentStatistics hostEnvironmentStatistics,
     IOptions <LoadSheddingOptions> loadSheddingOptions)
     : base(overloadDetector, hostEnvironmentStatistics, loadSheddingOptions)
 {
 }
コード例 #3
0
 public LocalPlacementTestGrain(
     OverloadDetector overloadDetector,
     TestHooksHostEnvironmentStatistics hostEnvironmentStatistics,
     IOptions <LoadSheddingOptions> loadSheddingOptions,
     IGrainContext grainContext)
     : base(overloadDetector, hostEnvironmentStatistics, loadSheddingOptions, grainContext)
 {
 }
コード例 #4
0
 public PlacementTestGrainBase(
     OverloadDetector overloadDetector,
     TestHooksHostEnvironmentStatistics hostEnvironmentStatistics,
     IOptions <LoadSheddingOptions> loadSheddingOptions)
 {
     this.overloadDetector          = overloadDetector;
     this.hostEnvironmentStatistics = hostEnvironmentStatistics;
     this.loadSheddingOptions       = loadSheddingOptions.Value;
 }
コード例 #5
0
 public OrleansTaskSchedulerAdvancedTests(ITestOutputHelper output)
 {
     this.output             = output;
     this.loggerFactory      = OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
     this.performanceMetrics = new TestHooksHostEnvironmentStatistics();
 }