Examples of DHTStorageKeyStats


Examples of com.aelitis.azureus.core.dht.DHTStorageKeyStats

    }
   
    try{
      DataInputStream  dis = new DataInputStream( new ByteArrayInputStream( value.getValue()));
     
      final DHTStorageKeyStats stats = storage_manager.deserialiseStats( dis );
     
      return(
        new DHTPluginKeyStats()
        {
          public int
          getEntryCount()
          {
            return( stats.getEntryCount());
          }
         
          public int
          getSize()
          {
            return( stats.getSize());
          }
         
          public int
          getReadsPerMinute()
          {
            return( stats.getReadsPerMinute());
          }
         
          public byte
          getDiversification()
          {
            return( stats.getDiversification());
          }
        });
     
    }catch( Throwable e ){
     
View Full Code Here

Examples of com.aelitis.azureus.core.dht.DHTStorageKeyStats

    final int  size    = is.readInt();
    final int  reads    = is.readInt();
    final byte  div      = is.readByte();

    return(
      new DHTStorageKeyStats()
      {
        public int
        getEntryCount()
        {
          return( entry_count );
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.