public class LifoThreadPoolExecutorTest extends Object
| Constructor and Description |
|---|
LifoThreadPoolExecutorTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertPoolBehavior(ExecutorService executor) |
void |
testJdkExec() |
void |
testJdkFJPExec() |
void |
testLifoExecSQ() |
void |
testLifoExecSQShutdownNow() |
void |
testLifoExecSQZeroQueue() |
void |
testMutableLifoExecSQZeroQueue() |
void |
testRejectHandlerZeroQueueSizeTp() |
void |
testRejectShutdown() |
void |
testRejectZeroQueueSizeTp() |
public void testLifoExecSQ()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testLifoExecSQZeroQueue()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testMutableLifoExecSQZeroQueue()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testRejectZeroQueueSizeTp()
public void testRejectShutdown()
throws InterruptedException
InterruptedExceptionpublic void testRejectHandlerZeroQueueSizeTp()
public void testLifoExecSQShutdownNow()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testJdkExec()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testJdkFJPExec()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic static void assertPoolBehavior(ExecutorService executor) throws InterruptedException, IOException
InterruptedExceptionIOExceptionCopyright © 2021 SPF4J. All rights reserved.