Searched refs:withCachedThreadPool (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousChannelGroup.java47 * #withFixedThreadPool withFixedThreadPool} or {@link #withCachedThreadPool
48 * withCachedThreadPool} methods defined here. Channels are bound to a group by
83 * group (see {@link #withCachedThreadPool withCachedThreadPool}).
229 public static AsynchronousChannelGroup withCachedThreadPool(ExecutorService executor, method in class:AsynchronousChannelGroup
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DAsExecutor.java39 .withCachedThreadPool(Executors.newCachedThreadPool(factory), 0);
H A DBasic.java63 group = AsynchronousChannelGroup.withCachedThreadPool(pool, rand.nextInt(5));
85 group = AsynchronousChannelGroup.withCachedThreadPool(pool, rand.nextInt(10));
122 .withCachedThreadPool(pool, rand.nextInt(5));
244 AsynchronousChannelGroup.withCachedThreadPool(null, 0);
H A DRestart.java76 group = AsynchronousChannelGroup.withCachedThreadPool(pool, rand.nextInt(5));
H A DIdentity.java118 group = AsynchronousChannelGroup.withCachedThreadPool(pool, rand.nextInt(5));

Completed in 115 milliseconds