Esempio n. 1
0
  /** Cancel all pending requests */
  public void cancelAll() {
    ArrayList<Object> groups;

    synchronized (this) {
      groups = new ArrayList<Object>(inFlight.keySet());
    }

    for (Object group : groups) cancelAll(group);
  }
Esempio n. 2
0
 /**
  * Cancel all pending requests associated with the given context
  *
  * @param context
  */
 public void cancelAll(Context context) {
   cancelAll((Object) context);
 }