Inheritance: LuceneTestCase
Exemple #1
0
 public ThreadAnonymousInnerClassHelper2(TestStressNRT outerInstance, string str, int ndocs, bool tombstones, AtomicLong operations)
     : base(str)
 {
     this.OuterInstance = outerInstance;
     this.Ndocs         = ndocs;
     this.Tombstones    = tombstones;
     this.Operations    = operations;
     rand = new Random(Random().Next());
 }
Exemple #2
0
 public ThreadAnonymousClass2(TestStressNRT outerInstance, string str, int ndocs, bool tombstones, AtomicInt64 operations)
     : base(str)
 {
     this.outerInstance = outerInstance;
     this.ndocs         = ndocs;
     this.tombstones    = tombstones;
     this.operations    = operations;
     rand = new J2N.Randomizer(Random.NextInt64());
 }
Exemple #3
0
 public ThreadAnonymousInnerClassHelper(TestStressNRT outerInstance, string str, int commitPercent, int softCommitPercent, int deletePercent, int deleteByQueryPercent, int ndocs, int maxConcurrentCommits, bool tombstones, AtomicLong operations, FieldType storedOnlyType, AtomicInteger numCommitting, RandomIndexWriter writer)
     : base(str)
 {
     this.OuterInstance        = outerInstance;
     this.CommitPercent        = commitPercent;
     this.SoftCommitPercent    = softCommitPercent;
     this.DeletePercent        = deletePercent;
     this.DeleteByQueryPercent = deleteByQueryPercent;
     this.Ndocs = ndocs;
     this.MaxConcurrentCommits = maxConcurrentCommits;
     this.Tombstones           = tombstones;
     this.Operations           = operations;
     this.StoredOnlyType       = storedOnlyType;
     this.NumCommitting        = numCommitting;
     this.Writer = writer;
     rand        = new Random(Random().Next());
 }
Exemple #4
0
 public ThreadAnonymousClass(TestStressNRT outerInstance, string str, int commitPercent, int softCommitPercent, int deletePercent, int deleteByQueryPercent, int ndocs, int maxConcurrentCommits, bool tombstones, AtomicInt64 operations, FieldType storedOnlyType, AtomicInt32 numCommitting, RandomIndexWriter writer)
     : base(str)
 {
     this.outerInstance        = outerInstance;
     this.commitPercent        = commitPercent;
     this.softCommitPercent    = softCommitPercent;
     this.deletePercent        = deletePercent;
     this.deleteByQueryPercent = deleteByQueryPercent;
     this.ndocs = ndocs;
     this.maxConcurrentCommits = maxConcurrentCommits;
     this.tombstones           = tombstones;
     this.operations           = operations;
     this.storedOnlyType       = storedOnlyType;
     this.numCommitting        = numCommitting;
     this.writer = writer;
     rand        = new J2N.Randomizer(Random.NextInt64());
 }
 public ThreadAnonymousInnerClassHelper2(TestStressNRT outerInstance, string str, int ndocs, bool tombstones, AtomicLong operations)
     : base(str)
 {
     this.OuterInstance = outerInstance;
     this.Ndocs = ndocs;
     this.Tombstones = tombstones;
     this.Operations = operations;
     rand = new Random(Random().Next());
 }
 public ThreadAnonymousInnerClassHelper(TestStressNRT outerInstance, string str, int commitPercent, int softCommitPercent, int deletePercent, int deleteByQueryPercent, int ndocs, int maxConcurrentCommits, bool tombstones, AtomicLong operations, FieldType storedOnlyType, AtomicInteger numCommitting, RandomIndexWriter writer)
     : base(str)
 {
     this.OuterInstance = outerInstance;
     this.CommitPercent = commitPercent;
     this.SoftCommitPercent = softCommitPercent;
     this.DeletePercent = deletePercent;
     this.DeleteByQueryPercent = deleteByQueryPercent;
     this.Ndocs = ndocs;
     this.MaxConcurrentCommits = maxConcurrentCommits;
     this.Tombstones = tombstones;
     this.Operations = operations;
     this.StoredOnlyType = storedOnlyType;
     this.NumCommitting = numCommitting;
     this.Writer = writer;
     rand = new Random(Random().Next());
 }