public interface IWorkerThreadAccessBuilder
Modifier and Type | Method and Description |
---|---|
IWorkerThreadAccess |
build()
Builds the worker thread access
|
IWorkerThreadAccessBuilder |
setExecutor(IFactory<java.lang.String> threadNameFactory)
Sets a default ExecutorService using a default
DaemonThreadFactory using the given ThreadNameFactory
|
IWorkerThreadAccessBuilder |
setExecutor(java.util.concurrent.ScheduledExecutorService executor)
Sets the ExecutorService to use
|
IWorkerThreadAccessBuilder |
setExecutor(java.lang.String threadPrefix)
Sets a default ExecutorService using a defaultDaemonThreadFactory using a default
ThreadNameFactory where all created threads has the given thread name prefix
|
IWorkerThreadAccessBuilder |
setExecutor(java.util.concurrent.ThreadFactory threadFactory)
Sets a default ExecutorService using the given thread factory
|
IWorkerThreadAccessBuilder |
setProgressDelayExecutor(IFactory<java.lang.String> threadNameFactory)
Sets a default ScheduledExecutorService using a default
DaemonThreadFactory using the given ThreadNameFactory
|
IWorkerThreadAccessBuilder |
setProgressDelayExecutor(java.util.concurrent.ScheduledExecutorService executor)
Sets the ScheduledExecutorService to use for progress delay
|
IWorkerThreadAccessBuilder |
setProgressDelayExecutor(java.lang.String threadPrefix)
Sets a default ScheduledExecutorService using a default
DaemonThreadFactory using a default ThreadNameFactory where
all created threads has the given thread name prefix
|
IWorkerThreadAccessBuilder |
setProgressDelayExecutor(java.util.concurrent.ThreadFactory threadFactory)
Sets a default ScheduledExecutorService using the given thread factory
|
IWorkerThreadAccessBuilder setExecutor(java.util.concurrent.ScheduledExecutorService executor)
executor
- The executor service to setIWorkerThreadAccessBuilder setExecutor(java.util.concurrent.ThreadFactory threadFactory)
threadFactory
- The thread factory to useIWorkerThreadAccessBuilder setExecutor(IFactory<java.lang.String> threadNameFactory)
threadNameFactory
- The thread name factory to useIWorkerThreadAccessBuilder setExecutor(java.lang.String threadPrefix)
threadPrefix
- The thread name prefix to useIWorkerThreadAccessBuilder setProgressDelayExecutor(java.util.concurrent.ScheduledExecutorService executor)
executor
- The executor service to setIWorkerThreadAccessBuilder setProgressDelayExecutor(java.util.concurrent.ThreadFactory threadFactory)
threadFactory
- The thread factory to useIWorkerThreadAccessBuilder setProgressDelayExecutor(IFactory<java.lang.String> threadNameFactory)
threadNameFactory
- The thread name factory to useIWorkerThreadAccessBuilder setProgressDelayExecutor(java.lang.String threadPrefix)
threadPrefix
- The thread name prefix to useIWorkerThreadAccess build()
Siehe auch Jowidgets Nutzerhandbuch