Package freenet.node.stats

Examples of freenet.node.stats.StoreLocationStats


   * View of stats for CHK Store
   *
   * @return stats for CHK Store
   */
  public StoreLocationStats chkStoreStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgStoreCHKLocation.currentValue();
      }

View Full Code Here


   * View of stats for CHK Cache
   *
   * @return CHK cache stats
   */
  public StoreLocationStats chkCacheStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgCacheCHKLocation.currentValue();
      }

View Full Code Here

   * View of stats for CHK SlashdotCache
   *
   * @return CHK Slashdotcache stats
   */
  public StoreLocationStats chkSlashDotCacheStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgSlashdotCacheCHKLocation.currentValue();
      }

View Full Code Here

   * View of stats for CHK ClientCache
   *
   * @return CHK ClientCache stats
   */
  public StoreLocationStats chkClientCacheStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgClientCacheCHKLocation.currentValue();
      }

View Full Code Here

   * View of stats for SSK Store
   *
   * @return stats for SSK Store
   */
  public StoreLocationStats sskStoreStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgStoreSSKLocation.currentValue();
      }

View Full Code Here

   * View of stats for SSK Cache
   *
   * @return SSK cache stats
   */
  public StoreLocationStats sskCacheStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgCacheSSKLocation.currentValue();
      }

View Full Code Here

   * View of stats for SSK SlashdotCache
   *
   * @return SSK Slashdotcache stats
   */
  public StoreLocationStats sskSlashDotCacheStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgSlashdotCacheSSKLocation.currentValue();
      }

View Full Code Here

   * View of stats for SSK ClientCache
   *
   * @return SSK ClientCache stats
   */
  public StoreLocationStats sskClientCacheStats() {
    return new StoreLocationStats() {
      @Override
      public double avgLocation() {
        return avgClientCacheSSKLocation.currentValue();
      }

View Full Code Here

TOP

Related Classes of freenet.node.stats.StoreLocationStats

Copyright © 2018 www.massapicom. 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.