Example #1
0
 public MemoryRedlockInstance(string name, MinValidityDelegate minValidity)
 {
     Name         = name;
     _minValidity = minValidity;
 }
Example #2
0
 private static ImmutableArray <ExceptionRedlockInstance> ErrInstances(int count, MinValidityDelegate minValidity)
 => Instances(count, (i) => ExceptionRedlockInstance.Create(i.ToString(), minValidity));
Example #3
0
 public static ExceptionRedlockInstance Create(string name, MinValidityDelegate minValidity)
 => new ExceptionRedlockInstance(name, minValidity);
Example #4
0
 private static ImmutableArray <MemoryRedlockInstance> MemInstances(int count, MinValidityDelegate minValidity)
 => Instances(count, (i) => MemoryRedlockInstance.Create(i.ToString(), minValidity));
Example #5
0
 public ExceptionRedlockInstance(string name, MinValidityDelegate minValidity)
 {
     Name         = name;
     _minValidity = minValidity;
 }