public interface ProcessExecutor extends ExecutorService
Executorthat provides methods to manage termination and methods that can produce a
Progressfor tracking one or more asynchronous tasks.
Method submit extends base method
ExecutorService.submit(java.util.concurrent.Callable<T>) by creating and
Progress that can be used to track how a process is doing in addition to
cancelling execution and/or waiting for completion.
|Modifier and Type||Method and Description|
Submits a process for execution and returns a Progress representing the pending results of the task.
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
If you would like to immediately block waiting for a task, you can use constructions of the form result = exec.submit(aProcess).get();
Copyright © 1996–2022 Geotools. All rights reserved.