public class ExampleTestClass { @Test public void testMethod() { Specsy.spec().describe("Concurrent Processing Test", () -> { Specsy.concurrent(4, () -> { // ... }); }); } } public class ExampleTestClass { @Test public void testMethod() { Specsy.spec().describe("Concurrent Processing Test", () -> { Specsy.concurrentWithThreadPool(4, () -> { // ... }); }); } }


上一篇:
下一篇:
切换中文