Java.Util.Concurrent.Executors.NewSingleThreadExecutor Method
Creates an Executor that uses a single worker thread operating off an unbounded queue.

Syntax

[Android.Runtime.Register("newSingleThreadExecutor", "()Ljava/util/concurrent/ExecutorService;", "")]
public static IExecutorService NewSingleThreadExecutor ()

Returns

Documentation for this section has not yet been entered.

Remarks

Creates an Executor that uses a single worker thread operating off an unbounded queue. (Note however that if this single thread terminates due to a failure during execution prior to shutdown, a new one will take its place if needed to execute subsequent tasks.) Tasks are guaranteed to execute sequentially, and no more than one task will be active at any given time. Unlike the otherwise equivalent newFixedThreadPool(1) the returned executor is guaranteed not to be reconfigurable to use additional threads.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1