Modifier and Type | Class and Description |
---|---|
class |
SequenceTest.Runner
Runner provides a class to run the sequence.
|
Constructor and Description |
---|
SequenceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testConcurrentSequence()
Test method for
Sequence.release(long, long) . |
void |
testIsIdle()
Test method for
Sequence.isIdle() . |
void |
testNoWaiter()
Test method for
Sequence.noWaiter(long) . |
void |
testThreaded()
Test method for
Sequence.noWaiter(long) . |
void |
testThreadedLightContention()
Test method for
Sequence.noWaiter(long) . |
void |
testThreadedMediumContention()
Test method for
Sequence.noWaiter(long) . |
void |
testThreadedSpinLock()
Test method for
Sequence.noWaiter(long) . |
void |
testThreadedSpinLockLightContention()
Test method for
Sequence.noWaiter(long) . |
void |
testThreadedSpinLockMediumContention()
Test method for
Sequence.noWaiter(long) . |
public void testConcurrentSequence() throws InterruptedException
Sequence.release(long, long)
.InterruptedException
- On a failure to wait for the test threads to finish.public void testIsIdle()
Sequence.isIdle()
.public void testNoWaiter()
Sequence.noWaiter(long)
.public void testThreaded()
Sequence.noWaiter(long)
.public void testThreadedLightContention()
Sequence.noWaiter(long)
.public void testThreadedMediumContention()
Sequence.noWaiter(long)
.public void testThreadedSpinLock()
Sequence.noWaiter(long)
.public void testThreadedSpinLockLightContention()
Sequence.noWaiter(long)
.public void testThreadedSpinLockMediumContention()
Sequence.noWaiter(long)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.