|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.util.TaskExecutorFactory y.util.MultiThreadedTaskExecutorFactory
public class MultiThreadedTaskExecutorFactory
Provides a shared instance of a factory that creates TaskExecutor
s that
execute tasks in parallel.
Field Summary | |
---|---|
static TaskExecutorFactory |
ADVANCED_MULTI_THREADED
Shared instance of a TaskExecutorFactory that creates TaskExecutor s 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 MultiThreadedTaskExecutorFactory instance. |
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 TaskExecutor
s 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()
TaskExecutorFactory
TaskExecutor
.
createExecutor
in class TaskExecutorFactory
TaskExecutor
.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |