withDefault


Description:

public static WorkerPool withDefault ()

Creates a thread pool with pool size equal to the number of CPU cores.

Example:

    var pool = WorkerPool.withDefault ();

Returns:

a new WorkerPool sized to CPU core count.