| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.TaskExecutorFactory
y.util.MultiThreadedTaskExecutorFactory
public class MultiThreadedTaskExecutorFactory
Provides a shared instance of a factory that creates TaskExecutors that
 execute tasks in parallel.
| Field Summary | |
|---|---|
| static TaskExecutorFactory | ADVANCED_MULTI_THREADEDShared instance of a TaskExecutorFactorythat createsTaskExecutors that
 execute tasks in parallel, i.e., multi-threaded. | 
| Fields inherited from class y.util.TaskExecutorFactory | 
|---|
| DEFAULT, MULTI_THREADED, SINGLE_THREADED | 
| Constructor Summary | |
|---|---|
| MultiThreadedTaskExecutorFactory()Initializes a new MultiThreadedTaskExecutorFactoryinstance. | |
| Method Summary | |
|---|---|
|  TaskExecutor | createExecutor()Creates a new TaskExecutor. | 
| Methods inherited from class y.util.TaskExecutorFactory | 
|---|
| getDefault, setDefault | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final TaskExecutorFactory ADVANCED_MULTI_THREADED
TaskExecutorFactory that creates TaskExecutors that
 execute tasks in parallel, i.e., multi-threaded. Note that this implementation is more efficient than
 that of TaskExecutorFactory.MULTI_THREADED but requires Java 1.5.
| Constructor Detail | 
|---|
public MultiThreadedTaskExecutorFactory()
MultiThreadedTaskExecutorFactory instance.
| Method Detail | 
|---|
public TaskExecutor createExecutor()
TaskExecutorFactoryTaskExecutor.
createExecutor in class TaskExecutorFactoryTaskExecutor.| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||