Package freenet.support.math

Examples of freenet.support.math.TrivialRunningAverage.report()


        avg = new TrivialRunningAverage();
        avgDatabaseJobExecutionTimes.put(jobType, avg);
      }
    }

    avg.report(executionTimeMiliSeconds);
  }

  public void reportMandatoryBackoff(String backoffType, long backoffTimeMilliSeconds, boolean realtime) {
    TrivialRunningAverage avg;
    if(realtime) {
View Full Code Here


          avg = new TrivialRunningAverage();
          avgMandatoryBackoffTimesBulk.put(backoffType, avg);
        }
      }
    }
    avg.report(backoffTimeMilliSeconds);
  }

  public void reportRoutingBackoff(String backoffType, long backoffTimeMilliSeconds, boolean realtime) {
    TrivialRunningAverage avg;
View Full Code Here

          avgRoutingBackoffTimesBulk.put(backoffType, avg);
        }
      }
    }

    avg.report(backoffTimeMilliSeconds);
  }

  public void reportTransferBackoff(String backoffType, long backoffTimeMilliSeconds, boolean realtime) {
    TrivialRunningAverage avg;
View Full Code Here

          avg = new TrivialRunningAverage();
          avgTransferBackoffTimesBulk.put(backoffType, avg);
        }
      }
    }
    avg.report(backoffTimeMilliSeconds);
  }

  /**
   * View of stats for CHK Store
   *
 
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.