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
InterruptedException
IOException
public void testLifoExecSQZeroQueue() throws InterruptedException, IOException
InterruptedException
IOException
public void testMutableLifoExecSQZeroQueue() throws InterruptedException, IOException
InterruptedException
IOException
public void testRejectZeroQueueSizeTp()
public void testRejectShutdown() throws InterruptedException
InterruptedException
public void testRejectHandlerZeroQueueSizeTp()
public void testLifoExecSQShutdownNow() throws InterruptedException, IOException
InterruptedException
IOException
public void testJdkExec() throws InterruptedException, IOException
InterruptedException
IOException
public void testJdkFJPExec() throws InterruptedException, IOException
InterruptedException
IOException
public static void assertPoolBehavior(ExecutorService executor) throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2021 SPF4J. All rights reserved.