C# Class Lucene.Net.Index.TestDocumentsWriterStallControl

Inheritance: LuceneTestCase
Afficher le fichier Open project: paulirwin/lucene.net Class Usage Examples

Méthodes publiques

Méthode Description
AwaitState ( ThreadState state ) : void

Waits for all incoming threads to be in wait() methods.

Join ( Lucene.Net.Support.ThreadClass toJoin ) : void
Start ( Lucene.Net.Support.ThreadClass tostart ) : void
Terminated ( Lucene.Net.Support.ThreadClass threads ) : bool
WaitThreads ( int num, DocumentsWriterStallControl ctrl ) : Lucene.Net.Support.ThreadClass[]

Private Methods

Méthode Description
AssertState ( int numReleasers, int numStallers, int numWaiters, Lucene.Net.Support.ThreadClass threads, DocumentsWriterStallControl ctrl ) : void
TestAccquireReleaseRace ( ) : void
TestRandom ( ) : void
TestSimpleStall ( ) : void

Method Details

AwaitState() public static méthode

Waits for all incoming threads to be in wait() methods.
public static AwaitState ( ThreadState state ) : void
state ThreadState
Résultat void

Join() public static méthode

public static Join ( Lucene.Net.Support.ThreadClass toJoin ) : void
toJoin Lucene.Net.Support.ThreadClass
Résultat void

Start() public static méthode

public static Start ( Lucene.Net.Support.ThreadClass tostart ) : void
tostart Lucene.Net.Support.ThreadClass
Résultat void

Terminated() public static méthode

public static Terminated ( Lucene.Net.Support.ThreadClass threads ) : bool
threads Lucene.Net.Support.ThreadClass
Résultat bool

WaitThreads() public static méthode

public static WaitThreads ( int num, DocumentsWriterStallControl ctrl ) : Lucene.Net.Support.ThreadClass[]
num int
ctrl DocumentsWriterStallControl
Résultat Lucene.Net.Support.ThreadClass[]