com.aelitis.azureus.plugins.dht.impl
Class DHTPluginStorageManager.storageKey
java.lang.Object
com.aelitis.azureus.plugins.dht.impl.DHTPluginStorageManager.storageKey
- All Implemented Interfaces:
- DHTStorageKey
- Enclosing class:
- DHTPluginStorageManager
protected static class DHTPluginStorageManager.storageKey
- extends Object
- implements DHTStorageKey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHTPluginStorageManager.storageKey
protected DHTPluginStorageManager.storageKey(DHTPluginStorageManager _manager,
byte _type,
HashWrapper _key)
DHTPluginStorageManager.storageKey
protected DHTPluginStorageManager.storageKey(DHTPluginStorageManager _manager,
byte _type,
HashWrapper _key,
long _expiry)
serialise
protected Map serialise()
deserialise
protected static DHTPluginStorageManager.storageKey deserialise(DHTPluginStorageManager _manager,
Map map)
serialiseStats
public void serialiseStats(DataOutputStream dos)
throws IOException
- Specified by:
serialiseStats
in interface DHTStorageKey
- Throws:
IOException
getKey
protected HashWrapper getKey()
getExpiry
protected long getExpiry()
getDiversificationType
public byte getDiversificationType()
- Specified by:
getDiversificationType
in interface DHTStorageKey
getReadsPerMinute
public int getReadsPerMinute()
getSize
public int getSize()
getEntryCount
public int getEntryCount()
read
protected void read(DHTTransportContact contact)
valueChanged
protected void valueChanged(int entries_diff,
int size_diff)