Examples of DHTPluginKeyStats


Examples of com.aelitis.azureus.plugins.dht.DHTPluginKeyStats

         
          return;
        }
       
        try{
          final DHTPluginKeyStats  stats = getDHT().decodeStats( _value );
         
          DistributedDatabaseKeyStats ddb_stats = new
            DistributedDatabaseKeyStats()
            {
              public int
              getEntryCount()
              {
                return( stats.getEntryCount());
              }
             
              public int
              getSize()
              {
                return( stats.getSize());
              }
             
              public int
              getReadsPerMinute()
              {
                return( stats.getReadsPerMinute());
              }
             
              public byte
              getDiversification()
              {
                return( stats.getDiversification());
              }
            };
           
          listener.event( new dbEvent( type, key, originator, ddb_stats ));
         
View Full Code Here

Examples of com.aelitis.azureus.plugins.dht.DHTPluginKeyStats

      DataInputStream  dis = new DataInputStream( new ByteArrayInputStream( value.getValue()));
     
      final DHTStorageKeyStats stats = storage_manager.deserialiseStats( dis );
     
      return(
        new DHTPluginKeyStats()
        {
          public int
          getEntryCount()
          {
            return( stats.getEntryCount());
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.