示例#1
0
 public Logic(RestartWithBackoffSink <T, TMat> stage, Attributes inheritedAttributes, string name)
     : base(name, stage.Shape, stage.In, null, stage.Settings, onlyOnFailures: false)
 {
     _stage = stage;
     _inheritedAttributes = inheritedAttributes;
     Backoff();
 }
示例#2
0
 public Logic(RestartWithBackoffSink <T, TMat> stage, string name)
     : base(name, stage.Shape, stage.In, null, stage.MinBackoff, stage.MaxBackoff, stage.RandomFactor, false, stage.MaxRestarts)
 {
     _stage = stage;
     Backoff();
 }