Searched defs:beforeExecute (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DThrowingTasks.java118 final Runnable beforeExecute; field in class:ThrowingTasks.Flaky
120 Flaky(Runnable beforeExecute, argument
122 this.beforeExecute = beforeExecute;
163 @Override protected void beforeExecute(Thread t, Runnable r) { method in class:ThrowingTasks.CheckingExecutor
170 ((Flaky)r).beforeExecute.run();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadPoolExecutor.java238 * #beforeExecute} and {@link #afterExecute} methods that are called
282 * protected void beforeExecute(Thread t, Runnable r) {
283 * super.beforeExecute(t, r);
1097 * 3. Each task run is preceded by a call to beforeExecute, which
1102 * 4. Assuming beforeExecute completes normally, we run the task,
1142 beforeExecute(wt, task);
1938 * should generally invoke {@code super.beforeExecute} at the end of
1944 protected void beforeExecute(Thread t, Runnable r) { } method in class:ThreadPoolExecutor

Completed in 46 milliseconds