.setResourceManager(new FileResourceManager(rootPath, 10485760));
final CacheHandler cacheHandler = new CacheHandler(new DirectBufferCache(1024, 10, 10480), handler);
final PathHandler path = new PathHandler();
path.addPrefixPath("/path", cacheHandler);
final CanonicalPathHandler root = new CanonicalPathHandler();
root.setNext(path);
DefaultServer.setRootHandler(root);
final List<Future<?>> futures = new ArrayList<Future<?>>();
for (int i = 0; i < NUM_THREADS; ++i) {
futures.add(executor.submit(new Runnable() {
@Override