Searched refs:allowCoreThreadTimeOut (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadPoolExecutor.java101 * method {@link #allowCoreThreadTimeOut(boolean)} can be used to
239 * setting {@link #allowCoreThreadTimeOut(boolean)}. </dd>
489 * present or if allowCoreThreadTimeOut. Otherwise they wait
499 private volatile boolean allowCoreThreadTimeOut; field in class:ThreadPoolExecutor
503 * (and not allow to time out etc) unless allowCoreThreadTimeOut
983 int min = allowCoreThreadTimeOut ? 0 : corePoolSize;
1003 * {@code allowCoreThreadTimeOut || workerCount > corePoolSize})
1026 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize;
1144 * if they are idle, unless {@code allowCoreThreadTimeOut} is set
1175 * if they are idle, unless {@code allowCoreThreadTimeOut} i
1609 public void allowCoreThreadTimeOut(boolean value) { method in class:ThreadPoolExecutor
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DThreadPoolExecutorSubclassTest.java1745 * allowCoreThreadTimeOut(true) causes idle threads to time out
1755 p.allowCoreThreadTimeOut(true);
1775 * allowCoreThreadTimeOut(false) causes idle threads not to time out
1785 p.allowCoreThreadTimeOut(false);
H A DThreadPoolExecutorTest.java1953 * allowCoreThreadTimeOut(true) causes idle threads to time out
1963 p.allowCoreThreadTimeOut(true);
1983 * allowCoreThreadTimeOut(false) causes idle threads not to time out
1993 p.allowCoreThreadTimeOut(false);

Completed in 11 milliseconds