void stopAllSearches ( String appIdentifier ) { List < QueryInfo > qinfos ; synchronized ( queries ) { qinfos = new ArrayList < QueryInfo > ( queries . values ( ) ) ; } for ( QueryInfo queryInfo : qinfos ) { if ( queryInfo . getAppName ( ) . equals ( appIdentifier ) ) { stopSearch ( queryInfo ) ; } } }
Unregister all the active queries associated with the given appIdentifier . Application will not be notified about the event .