final AtomicBoolean msgAnsweredOrTimedout = new AtomicBoolean( false );
final AtomicBoolean onSync = new AtomicBoolean( false );
final Map<Integer, FileSystemInfo> fileSystems = new HashMap<Integer, FileSystemInfo>();
clusterService.broadcastAndWait( service.getId(), QUERY_FOR_FS, Collections.<String, String>emptyMap(), timeout, new AsyncCallback() {
@Override
public void onTimeOut() {
msgAnsweredOrTimedout.set( true );
}