Class TaskQueue.Builder
java.lang.Object
org.eclipse.milo.opcua.stack.core.util.TaskQueue.Builder
- Enclosing class:
- TaskQueue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build aTaskQueueusing the parameters configured on thisTaskQueue.Builder.setExecutor(Executor executor) setMaxConcurrentTasks(int maxConcurrentTasks) setMaxQueueSize(int maxQueueSize) setPriorityRatio(int priorityRatio)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setExecutor
-
setMaxConcurrentTasks
-
setMaxQueueSize
-
setPriorityRatio
-
build
Build aTaskQueueusing the parameters configured on thisTaskQueue.Builder.At a minimum, the
executorparameter must be set. SeesetExecutor(Executor).- Returns:
- a new
TaskQueuebuilt using the parameters configured on thisTaskQueue.Builder.
-