public final class PoolUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
ioIntesivePoolSize() |
static int |
poolSize(double blockingCoefficient)
Number of threads = Number of Available Cores / (1 - Blocking
Coefficient) where the blocking coefficient is between 0 and 1.
|
public static int ioIntesivePoolSize()
public static int poolSize(double blockingCoefficient)
Copyright © 2016 Dexecutor. All rights reserved.