/** Cancel all pending requests */ public void cancelAll() { ArrayList<Object> groups; synchronized (this) { groups = new ArrayList<Object>(inFlight.keySet()); } for (Object group : groups) cancelAll(group); }
/** * Cancel all pending requests associated with the given context * * @param context */ public void cancelAll(Context context) { cancelAll((Object) context); }