Examples of abortedLocally()


Examples of freenet.io.xfer.PartiallyReceivedBlock.abortedLocally()

              // A certain number of these are normal, it's better to track them through statistics than call attention to them in the logs.
              Logger.normal(this, "Transfer failed ("+e.getReason()+"/"+RetrievalException.getErrString(e.getReason())+"): "+e+" from "+next, e);
            if(RequestSender.this.source == null)
              Logger.normal(this, "Local transfer failed: "+e.getReason()+" : "+RetrievalException.getErrString(e.getReason())+"): "+e+" from "+next, e);
            // We do an ordinary backoff in all cases.
            if(!prb.abortedLocally())
              next.localRejectedOverload("TransferFailedRequest"+e.getReason(), realTimeFlag);
            node.failureTable.onFinalFailure(key, next, htl, origHTL, FailureTable.RECENTLY_FAILED_TIME, FailureTable.REJECT_TIME, source);
            if(!wasFork)
              finish(TRANSFER_FAILED, next, false);
            int reason = e.getReason();
View Full Code Here

Examples of freenet.io.xfer.PartiallyReceivedBlock.abortedLocally()

            } else {
              // Quick failure (in that we didn't have to timeout). Don't backoff.
              // Treat as a DNF.
              node.failureTable.onFinalFailure(key, next, htl, origHTL, FailureTable.RECENTLY_FAILED_TIME, FailureTable.REJECT_TIME, source);
            }
            if(!prb.abortedLocally())
              node.nodeStats.failedBlockReceive(true, timeout, realTimeFlag, source == null);
          } catch (Throwable t) {
              Logger.error(this, "Failed on "+this, t);
              if(!wasFork)
                finish(INTERNAL_ERROR, next, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.