HomeSort by relevance Sort by last modified time
    Searched refs:threadPool (Results 1 - 25 of 26) sorted by null

1 2

  /external/guava/guava-tests/test/com/google/common/collect/
QueuesTest.java 55 private ExecutorService threadPool;
59 threadPool = Executors.newCachedThreadPool();
66 threadPool.shutdown();
68 threadPool.awaitTermination(1, TimeUnit.SECONDS));
87 threadPool.submit(new Producer(q, 20));
88 threadPool.submit(new Producer(q, 20));
89 threadPool.submit(new Producer(q, 20));
90 threadPool.submit(new Producer(q, 20));
91 threadPool.submit(new Producer(q, 20));
112 Future<?> submitter = threadPool.submit(new Producer(q, 1))
    [all...]
MapMakerTest.java 138 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads);
142 threadPool.submit(new Runnable() {
  /libcore/luni/src/test/java/tests/java/sql/
MultiThreadAccessTest.java 33 import tests.support.ThreadPool;
45 private ThreadPool threadPool;
57 threadPool = new ThreadPool(numThreads);
61 threadPool.join();
122 threadPool.runTask(createTask1(i));
134 threadPool.runTask(createTask1(1));
135 threadPool.runTask(createTask2(2));
136 threadPool.runTask(createTask3(3))
    [all...]
StressTest.java 32 import tests.support.ThreadPool;
126 ThreadPool threadPool = new ThreadPool(numTasks);
130 threadPool.runTask(createTask(i));
133 threadPool.join();
199 ThreadPool threadPool = new ThreadPool(numConnections);
203 threadPool.runTask(insertTask(numConnections, i))
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/websocket/
WebSocketClientFactory.java 55 import org.eclipse.jetty.util.thread.ThreadPool;
60 * (for example, a {@link ThreadPool}, a {@link SelectorManager NIO selector}, etc).</p>
62 * <p>If a ThreadPool or MaskGen is passed in the constructor, then it is not added with {@link AggregateLifeCycle#addBean(Object)},
73 private final ThreadPool _threadPool;
89 * <p>Creates a WebSocketClientFactory with the given ThreadPool and the default configuration.</p>
91 * @param threadPool the ThreadPool instance to use
93 public WebSocketClientFactory(ThreadPool threadPool)
95 this(threadPool, new RandomMaskGen())
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
ManualAutoFocusFactory.java 65 * @param threadPool The executor on which to schedule delayed tasks.
74 ScheduledExecutorService threadPool,
91 threadPool, afHoldSeconds, TimeUnit.SECONDS);
  /external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderTest.java 476 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads);
480 threadPool.submit(new Runnable() {
565 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads);
567 threadPool.submit(new Runnable() {
579 threadPool.shutdown();
580 threadPool.awaitTermination(300, TimeUnit.SECONDS);
  /external/libgdx/gdx/src/com/badlogic/gdx/assets/
AssetLoadingTask.java 51 public AssetLoadingTask (AssetManager manager, AssetDescriptor assetDesc, AssetLoader loader, AsyncExecutor threadPool) {
55 this.executor = threadPool;
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
ConnectHandler.java 57 import org.eclipse.jetty.util.thread.ThreadPool;
70 private volatile ThreadPool _threadPool;
137 server.getContainer().update(this, null, _privateThreadPool, "threadpool", true);
145 public ThreadPool getThreadPool()
151 * @param threadPool the thread pool
153 public void setThreadPool(ThreadPool threadPool)
156 getServer().getContainer().update(this, _privateThreadPool ? _threadPool : null, threadPool, "threadpool", true);
157 _privateThreadPool = threadPool != null
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/collect/
ConcurrentHashMultisetBenchmark.java 56 private ExecutorService threadPool;
65 threadPool =
92 futures.add(threadPool.submit(task));
  /external/jetty/src/java/org/eclipse/jetty/server/
Server.java 47 import org.eclipse.jetty.util.thread.ThreadPool;
53 * The server is itself a handler and a ThreadPool. Connectors use the ThreadPool methods
75 private ThreadPool _threadPool;
189 * Each connector has this server set as it's ThreadPool and its Handler.
206 * @return Returns the threadPool.
208 public ThreadPool getThreadPool()
215 * @param threadPool The threadPool to set.
217 public void setThreadPool(ThreadPool threadPool
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/client/
HttpClient.java 46 import org.eclipse.jetty.util.thread.ThreadPool;
85 ThreadPool _threadPool;
169 * @return the threadpool
171 public ThreadPool getThreadPool()
177 /** Set the ThreadPool.
178 * The threadpool passed is added via {@link #addBean(Object)} so that
180 * @param threadPool the threadPool to set
182 public void setThreadPool(ThreadPool threadPool)
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java 568 ExecutorService threadPool = Executors.newFixedThreadPool(nThreads);
570 threadPool.submit(new Runnable() {
630 threadPool.shutdown();
631 assertTrue(threadPool.awaitTermination(300, TimeUnit.SECONDS));
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.util_1.0.200.v20100503.jar 
org.eclipse.equinox.ds_1.2.1.R36x_v20100803.jar 
org.mortbay.jetty.server_6.1.23.v201004211559.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.util_1.0.500.v20130404-1337.jar 
org.eclipse.equinox.ds_1.4.101.v20130813-1853.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.util_1.0.500.v20130404-1337.jar 
org.eclipse.equinox.ds_1.4.100.v20130515-2026.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/
http-builder-0.7.2.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-websocket/8.1.14.v20131031/
jetty-websocket-8.1.14.v20131031.jar 
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
comsvcs.h     [all...]
  /external/guice/extensions/struts2/lib/
jetty-6.1.0.jar 
jsp-2.1.jar 

Completed in 569 milliseconds

1 2