TaskRunner taskRunner = _configuration.getTaskRunner();
WidgetUtils.addToGridBag(new JLabel("Task runner type:"), panel, 0, row);
WidgetUtils.addToGridBag(new JLabel(taskRunner.getClass().getSimpleName()), panel, 1, row);
WidgetUtils
.addToGridBag(
new HelpIcon(
"The task runner is used to determine the execution strategy of Analysis jobs. The most common strategy for this is to use a multithreaded task runner which will spawn several threads to enable concurrent execution of jobs."),
panel, 2, row);
if (taskRunner instanceof MultiThreadedTaskRunner) {
int numThreads = ((MultiThreadedTaskRunner) taskRunner).getNumThreads();
if (numThreads > 0) {
row++;
WidgetUtils.addToGridBag(new JLabel("Thread pool size:"), panel, 0, row);
WidgetUtils.addToGridBag(new JLabel("" + numThreads), panel, 1, row);
}
}
row++;
StorageProvider storageProvider = _configuration.getStorageProvider();
WidgetUtils.addToGridBag(new JLabel("Storage provider type:"), panel, 0, row);
WidgetUtils.addToGridBag(new JLabel(storageProvider.getClass().getSimpleName()), panel, 1, row);
WidgetUtils
.addToGridBag(
new HelpIcon(
"The storage provider is used for staging data during and after analysis, typically to store the results on disk in stead of holding everything in memory."),
panel, 2, row);
row++;
DCLabel descriptionLabel = DCLabel