Runtime

Getting count of available cores

int coreCount = Runtime.getRuntime().availableProcessors();

Backlinks