listener = pListener;
}
private RepoPathElement[] getPathElements()
throws InterruptedException, ExecutionException {
final ChildrenFetchService executor = ChildrenFetchService.getInstance();
final Future<RepoPathElement[]> fetchResult = executor.fetch(pathElement);
try {
status = SearchStatus.SEARCHING;
listener.fetchStarted(RepoTreeNode.this);
LOG.trace("Received fetch future for " + pathElement.getRootURI() + " - waiting for results...");
final RepoPathElement[] children = fetchResult.get();