示例#1
0
文件: Ion.java 项目: nishant1286/ion
  /** Cancel all pending requests */
  public void cancelAll() {
    ArrayList<Object> groups;

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

    for (Object group : groups) cancelAll(group);
  }
示例#2
0
文件: Ion.java 项目: nishant1286/ion
 /**
  * Cancel all pending requests associated with the given context
  *
  * @param context
  */
 public void cancelAll(Context context) {
   cancelAll((Object) context);
 }