102103104105106107108109110
}; ThreadPoolExecutor exec = new ThreadPoolExecutor(10, 50, 60, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), factory); return new ParallelShardAccessStrategy(exec); // return new SequentialShardAccessStrategy(); }
74757677787980
}; ThreadPoolExecutor exec = new ThreadPoolExecutor(10, 50, 60, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), factory); return new ParallelShardAccessStrategy(exec); }