mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 00:38:18 +00:00
Improve doc message in ParallelClientSynchronizer.
This commit is contained in:
@@ -36,18 +36,18 @@ import org.apollo.util.ThreadUtil;
|
|||||||
public final class ParallelClientSynchronizer extends ClientSynchronizer {
|
public final class ParallelClientSynchronizer extends ClientSynchronizer {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The executor service.
|
* The ExecutorService.
|
||||||
*/
|
*/
|
||||||
private final ExecutorService executor;
|
private final ExecutorService executor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The phaser.
|
* The Phaser.
|
||||||
*/
|
*/
|
||||||
private final Phaser phaser = new Phaser(1);
|
private final Phaser phaser = new Phaser(1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates the parallel client synchronizer backed by a thread pool with a number of threads equal to the number of
|
* Creates the ParallelClientSynchronizer backed by a thread pool with a number of threads equal to the number of
|
||||||
* processing cores available (this is found by the {@link ThreadUtil#AVAILABLE_PROCESSORS} method.
|
* processing cores available.
|
||||||
*/
|
*/
|
||||||
public ParallelClientSynchronizer() {
|
public ParallelClientSynchronizer() {
|
||||||
executor = Executors.newFixedThreadPool(ThreadUtil.AVAILABLE_PROCESSORS, ThreadUtil.create("ClientSynchronizer"));
|
executor = Executors.newFixedThreadPool(ThreadUtil.AVAILABLE_PROCESSORS, ThreadUtil.create("ClientSynchronizer"));
|
||||||
|
|||||||
Reference in New Issue
Block a user