this.name = name;
}
@Override
public ForkJoinWorkerThread newThread(ForkJoinPool pool) {
ForkJoinWorkerThread thread = new ExtendedForkJoinWorkerThread(pool); // ForkJoinPool.defaultForkJoinWorkerThreadFactory.newThread(pool);
final String workerNumber = thread.getName().substring(thread.getName().lastIndexOf('-') + 1);
final String newThreadName = "ForkJoinPool-" + name + "-worker-" + workerNumber;
thread.setName(newThreadName);
//thread.setUncaughtExceptionHandler(uncaughtExceptionHandler);
return thread;
}