question: final public boolean addChild ( final IRunningQuery childQuery ) { synchronized ( children ) { final UUID childId = childQuery . getQueryId ( ) ; if ( children . containsKey ( childId ) ) { return false ; } if ( future . isDone ( ) ) { childQuery . cancel ( true ) ; throw new RuntimeException ( "Query is done" ) ; } children . put ( childId , childQuery ) ; return true ; } }
target:  Attach a child query. <p> Queries as submitted do not know about parent/child relationships