Lines Matching refs:Executor
31 * Factory for {@link Executor}s and {@link ExecutorService}s backed by
76 * Creates an {@link Executor} that performs tasks asynchronously. The {@link Executor}
78 * returns the {@link Priority.NORMAL} {@link Executor}.
80 * @param priority - the priority of the returned {@link Executor}
81 * @return an asynchronous {@link Executor}
83 public Executor getAsyncExecutor(Priority priority) {
116 Executor nonBlockingMainQueue = null;
118 * Returns an {@link Executor} that performs the provided Runnables on the main queue of the process.
119 * Runnables submitted to this {@link Executor} will not run until the AWT is started or another native toolkit is running a CFRunLoop or NSRunLoop on the main thread.
121 * Submitting a Runnable to this {@link Executor} does not wait for the Runnable to complete.
122 * @return an asynchronous {@link Executor} that is backed by the main queue
124 public synchronized Executor getNonBlockingMainQueueExecutor() {
129 Executor blockingMainQueue = null;
131 * Returns an {@link Executor} that performs the provided Runnables on the main queue of the process.
132 * Runnables submitted to this {@link Executor} will not run until the AWT is started or another native toolkit is running a CFRunLoop or NSRunLoop on the main thread.
134 * Submitting a Runnable to this {@link Executor} will block until the Runnable has completed.
135 * @return an {@link Executor} that is backed by the main queue
137 public synchronized Executor getBlockingMainQueueExecutor() {