Searched refs:newFixedThreadPool (Results 1 – 15 of 15) sorted by relevance
101 ExecutorService e = Executors.newFixedThreadPool(2); in testNewFixedThreadPool1()112 ExecutorService e = Executors.newFixedThreadPool(2, new SimpleThreadFactory()); in testNewFixedThreadPool2()124 ExecutorService e = Executors.newFixedThreadPool(2, null); in testNewFixedThreadPool3()134 ExecutorService e = Executors.newFixedThreadPool(0); in testNewFixedThreadPool4()143 … ExecutorService e = Executors.unconfigurableExecutorService(Executors.newFixedThreadPool(2)); in testUnconfigurableExecutorService()257 Executors.newFixedThreadPool(2), in testTimedCallable()
457 ExecutorService executor = Executors.newFixedThreadPool(2);485 ExecutorService executor = Executors.newFixedThreadPool(2);
688 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor()713 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
754 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor()780 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
569 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor()593 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
602 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
641 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
1633 ExecutorService executor = Executors.newFixedThreadPool(2);1658 ExecutorService executor = Executors.newFixedThreadPool(2);
85 ExecutorService executorService = Executors.newFixedThreadPool(2); in execAndGetOutput()125 ExecutorService executorService = Executors.newFixedThreadPool(2); in execAndCheckOutput()
79 ExecutorService executor = Executors.newFixedThreadPool(threads); in testSecureRandomThreadSafety()
79 ExecutorService executor = Executors.newFixedThreadPool(2); in connect()
60 public static ExecutorService newFixedThreadPool(int nThreads) { in newFixedThreadPool() method in Executors123 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool() method in Executors
250 ExecutorService es = Executors.newFixedThreadPool(THREAD_COUNT); in testMessageDigest_MultipleThreads_Misuse()
1624 ExecutorService es = Executors.newFixedThreadPool(THREAD_COUNT); in testSignature_MultipleThreads_Misuse()
1475 ExecutorService executorService = Executors.newFixedThreadPool(2); in test_SSLSocket_ClientHello_size()1609 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_sendsTlsFallbackScsv_Fallback_Success()1647 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_sendsNoTlsFallbackScsv_Fallback_Success()1685 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_sendsTlsFallbackScsv_InappropriateFallback_Failure()1736 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage()1787 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()