| Package | Description |
|---|---|
| de.javagl.swing.tasks.executors |
Classes for observing the status of tasks that are executed in an
executor service.
|
| Modifier and Type | Method and Description |
|---|---|
static ObservableExecutorService |
ObservableExecutors.newCachedThreadPool()
Create a new
ObservableExecutorService with a cached thread
pool. |
static ObservableExecutorService |
ObservableExecutors.newFixedThreadPool(int poolSize)
Create a new
ObservableExecutorService with the given
fixed pool size. |
| Modifier and Type | Method and Description |
|---|---|
void |
ObservableExecutorPanel.setObservableExecutorService(ObservableExecutorService newObservableExecutorService)
Set the
ObservableExecutorService that should be displayed
in this panel |
| Constructor and Description |
|---|
ObservableExecutorCompletionService(ObservableExecutorService observableExecutorService)
Creates a new instance that executes the tasks using the given
ObservableExecutorService |
ObservableExecutorCompletionService(ObservableExecutorService observableExecutorService,
BlockingQueue<Future<V>> completionQueue)
Creates a new instance that executes the tasks using the given
ObservableExecutorService, and puts the futures of the
completed tasks into the given (unbounded) queue |
Copyright © 2016. All rights reserved.