/** * Remove the pendingKeys item and then remove from the queue as well. * Call unregister(container) if you only want to remove from the queue. */ public void unregisterAll(ClientContext context) { getScheduler(context).removePendingKeys(this, false); unregister(context, (short)-1); }
public void fail(FetchException e) { synchronized(this) { if(succeeded || failed) return; failed = true; } if(storage != null) context.getChkFetchScheduler(realTimeFlag).removePendingKeys(storage.keyListener, true); if(getter != null) getter.cancel(context); if(storage != null) storage.cancel(); cb.onFailure(e, this, context); }
return; context.getChkFetchScheduler(realTimeFlag).removePendingKeys(storage.keyListener, true); getter.cancel(context); if(this.callbackCompleteViaTruncation != null) {