Package freenet.node.NodeStats

Examples of freenet.node.NodeStats.RunningRequestsSnapshot.log()


        }
        if(dontSendUnlessGuaranteed)
          worstAcceptable = RequestLikelyAcceptedState.GUARANTEED;
        // Requests already running to this node
        RunningRequestsSnapshot runningRequests = node.nodeStats.getRunningRequestsTo(PeerNode.this, loadStats.averageTransfersOutPerInsert, realTime);
        runningRequests.log(PeerNode.this);
        // Requests running from its other peers
        RunningRequestsSnapshot otherRunningRequests = loadStats.getOtherRunningRequests();
        RequestLikelyAcceptedState acceptState = getRequestLikelyAcceptedState(runningRequests, otherRunningRequests, ignoreLocalVsRemote, loadStats);
        if(logMINOR) Logger.minor(this, "Predicted acceptance state for request: "+acceptState+" must beat "+worstAcceptable);
        if(acceptState.ordinal() > worstAcceptable.ordinal()) return null;
View Full Code Here


            }
            if(logMINOR) Logger.minor(this, "Checking slot waiters for "+type);
            foundNone = false;
            // Requests already running to this node
            RunningRequestsSnapshot runningRequests = node.nodeStats.getRunningRequestsTo(PeerNode.this, loadStats.averageTransfersOutPerInsert, realTime);
            runningRequests.log(PeerNode.this);
            // Requests running from its other peers
            RunningRequestsSnapshot otherRunningRequests = loadStats.getOtherRunningRequests();
            acceptState = getRequestLikelyAcceptedState(runningRequests, otherRunningRequests, ignoreLocalVsRemote, loadStats);
            if(acceptState == null || acceptState == RequestLikelyAcceptedState.UNLIKELY) {
              if(logMINOR) Logger.minor(this, "Accept state is "+acceptState+" - not waking up - type is "+type);
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.