public void cancelRequestsByTAG(Object TAG,boolean mayInterruptIfRunning){
  if (TAG == null) {
    log.d(LOG_TAG,"cancelRequestsByTAG, passed TAG is null, cannot proceed");
    return;
  }
  for (  List<RequestHandle> requestList : requestMap.values()) {
    if (requestList != null) {
      for (      RequestHandle requestHandle : requestList) {
        if (TAG.equals(requestHandle.getTag()))         requestHandle.cancel(mayInterruptIfRunning);
      }
    }
  }
}

public void cancelRequestsByTAG ( Object TAG , boolean mayInterruptIfRunning ) { if ( TAG == null ) { log . d ( LOG_TAG , "cancelRequestsByTAG, passed TAG is null, cannot proceed" ) ; return ; } for ( List < RequestHandle > requestList : requestMap . values ( ) ) { if ( requestList != null ) { for ( RequestHandle requestHandle : requestList ) { if ( TAG . equals ( requestHandle . getTag ( ) ) ) requestHandle . cancel ( mayInterruptIfRunning ) ; } } } }
allows you to cancel all requests currently in queue or running , by set tag , if passed tag is null , will not attempt to cancel any requests , if tag is null on requesthandle , it cannot be canceled by this call
