Home
last modified time | relevance | path

Searched refs:threadPool (Results 1 – 15 of 15) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DQueuesTest.java55 private ExecutorService threadPool; field in QueuesTest
59 threadPool = Executors.newCachedThreadPool(); in setUp()
66 threadPool.shutdown(); in tearDown()
68 threadPool.awaitTermination(1, TimeUnit.SECONDS)); in tearDown()
87 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
88 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
89 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
90 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
91 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
112 Future<?> submitter = threadPool.submit(new Producer(q, 1)); in testDrainTimesOut()
[all …]
DMapMakerTest.java138 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads); in testRemovalNotification_clear_basher() local
142 threadPool.submit(new Runnable() { in testRemovalNotification_clear_basher()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketClientFactory.java93 public WebSocketClientFactory(ThreadPool threadPool) in WebSocketClientFactory() argument
95 this(threadPool, new RandomMaskGen()); in WebSocketClientFactory()
105 public WebSocketClientFactory(ThreadPool threadPool, MaskGen maskGen) in WebSocketClientFactory() argument
107 this(threadPool, maskGen, 8192); in WebSocketClientFactory()
119 public WebSocketClientFactory(ThreadPool threadPool, MaskGen maskGen, int bufferSize) in WebSocketClientFactory() argument
121 if (threadPool == null) in WebSocketClientFactory()
122 threadPool = new QueuedThreadPool(); in WebSocketClientFactory()
123 _threadPool = threadPool; in WebSocketClientFactory()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java476 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads); in testRemovalNotification_clear_basher() local
480 threadPool.submit(new Runnable() { in testRemovalNotification_clear_basher()
565 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads); in testRemovalNotification_get_basher() local
567 threadPool.submit(new Runnable() { in testRemovalNotification_get_basher()
579 threadPool.shutdown(); in testRemovalNotification_get_basher()
580 threadPool.awaitTermination(300, TimeUnit.SECONDS); in testRemovalNotification_get_basher()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DConnectHandler.java153 public void setThreadPool(ThreadPool threadPool) in setThreadPool() argument
156 …).getContainer().update(this, _privateThreadPool ? _threadPool : null, threadPool, "threadpool", t… in setThreadPool()
157 _privateThreadPool = threadPool != null; in setThreadPool()
158 _threadPool = threadPool; in setThreadPool()
182 ThreadPool threadPool = _threadPool; in doStop() local
183 if (_privateThreadPool && _threadPool != null && threadPool instanceof LifeCycle) in doStop()
184 ((LifeCycle)threadPool).stop(); in doStop()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java56 private ExecutorService threadPool; field in ConcurrentHashMultisetBenchmark
65 threadPool = in setUp()
92 futures.add(threadPool.submit(task));
/external/jetty/src/java/org/eclipse/jetty/server/
DServer.java217 public void setThreadPool(ThreadPool threadPool) in setThreadPool() argument
221 _container.update(this, _threadPool, threadPool, "threadpool",false); in setThreadPool()
222 _threadPool = threadPool; in setThreadPool()
/external/jetty/src/resources/org/eclipse/jetty/server/jmx/
DServer-mbean.properties5 threadPool: MObject:The server Thread Pool key
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java568 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads); in testModify_basher() local
570 threadPool.submit(new Runnable() { in testModify_basher()
630 threadPool.shutdown(); in testModify_basher()
631 assertTrue(threadPool.awaitTermination(300, TimeUnit.SECONDS)); in testModify_basher()
/external/jetty/src/java/org/eclipse/jetty/client/
DHttpClient.java182 public void setThreadPool(ThreadPool threadPool) in setThreadPool() argument
185 _threadPool = threadPool; in setThreadPool()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.util_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.ds_1.2.1.R36x_v20100803.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...