public void cancel(ClientContext context) {
ClientRequester cr = getClientRequest();
// It might have been finished on startup.
if(logMINOR) Logger.minor(this, "Cancelling "+cr+" for "+this+" persistence = "+persistence);
if(cr != null) cr.cancel(context);
freeData();
}
public boolean isPersistentForever() {
return persistence == Persistence.FOREVER;