|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
DefaultThreadFactory | Implements a default thread factory. |
TestRunnable | TestRunnable is an extension of java.util.Runnable that adds some features to make it easier to coordinate the activities of threads in such a way as to expose bugs in multi threaded code. |
ThreadTestCoordinator | ThreadTestCoordinator provides an array of binary latches that allows threads to wait for other threads or to send them a signal that allows them to continue running or to wait for another thread to signal them. |
ThreadTestExample | An example to illustrate the use of the ThreadTestCoordinator and TestRunnable s. |
Exception Summary | |
---|---|
PossibleDeadlockException | PossibleDeadlockException is used to signal that two test threads being executed by a ThreadTestCoordinator
may be in a state of deadlock because they are mutually blocking each other or one is waiting on the other and the
other has been blocked elsewhere for longer than a specified timeout. |
Contains code to assist in testing concurrency issues using coordinated threads to present code under test with oportunities to expose concurrency bugs. Some example concurrency bugs that may be tested using these techniques are race conditions, dead locks, live locks, dirty reads, phantom reads, non repeatable reads and so on.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |