- Companion
- class
Value members
Concrete methods
Creates a dispatch queue with a given name.
Creates a dispatch queue with a given name.
- Value Params
- Returns
a new dispatch queue, either unlimited, serial, or limited.
Creates a dispatch queue with a generated name, given an executor service instead of an execution context.
Creates a dispatch queue with a generated name, given an executor service instead of an execution context.
- Value Params
- Returns
a new dispatch queue, either unlimited, serial, or limited.
- See also
java.util.concurrent.ExecutorService
Creates a dispatch queue with a given name, given an executor service instead of an execution context.
Creates a dispatch queue with a given name, given an executor service instead of an execution context.
- Value Params
- concurrentTasks
- name
- the name of the queue; might be later used e.g. in logging.
- service
- the underlying executor service. The dispatch queue will create a new execution context, using the service.
- Returns
a new dispatch queue, either unlimited, serial, or limited.
- See also
java.util.concurrent.ExecutorService
Concrete fields
Used in place on the concurrentTasks
parameter in one of the DispatchQueue.apply
method,
SERIAL
indicates that the queue should be a serial one. But take a look on SerialDispatchQueue.apply
before you decide to use it.
Used in place on the concurrentTasks
parameter in one of the DispatchQueue.apply
method,
SERIAL
indicates that the queue should be a serial one. But take a look on SerialDispatchQueue.apply
before you decide to use it.
- See also
Used in place on the concurrentTasks
parameter in one of the DispatchQueue.apply
method,
UNLIMITED
indicates that the queue should be an unlimited one. But take a look on UnlimitedDispatchQueue.apply
before you decide to use it.
Used in place on the concurrentTasks
parameter in one of the DispatchQueue.apply
method,
UNLIMITED
indicates that the queue should be an unlimited one. But take a look on UnlimitedDispatchQueue.apply
before you decide to use it.
- See also