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 java.lang.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 java.util.Map serialise()
deserialise
protected static DHTPluginStorageManager.storageKey deserialise(DHTPluginStorageManager _manager,
java.util.Map map)
serialiseStats
public void serialiseStats(java.io.DataOutputStream dos)
throws java.io.IOException
- Specified by:
serialiseStats
in interface DHTStorageKey
- Throws:
java.io.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)