FileDocCategorySizeDatePackage
DHTStorageAdapter.javaAPI DocAzureus 3.0.3.42930Thu Jan 11 07:45:32 GMT 2007com.aelitis.azureus.core.dht

DHTStorageAdapter

public interface DHTStorageAdapter
author
parg

Fields Summary
Constructors Summary
Methods Summary
public byte[][]createNewDiversification(com.aelitis.azureus.core.dht.transport.DHTTransportContact cause, byte[] key, boolean put_operation, byte diversification_type, boolean exhaustive_get)

public DHTStorageKeyStatsdeserialiseStats(java.io.DataInputStream is)

public DHTStorageBlock[]getDirectKeyBlocks()

public byte[][]getExistingDiversification(byte[] key, boolean put_operation, boolean exhaustive_get)

public DHTStorageBlockgetKeyBlockDetails(byte[] key)

public byte[]getKeyForKeyBlock(byte[] request)

public intgetNextValueVersions(int num)

public byte[]getStorageForKey(java.lang.String key)

public booleanisDiversified(byte[] key)

public DHTStorageBlockkeyBlockRequest(com.aelitis.azureus.core.dht.transport.DHTTransportContact direct_sender, byte[] request, byte[] signature)

public DHTStorageKeykeyCreated(org.gudy.azureus2.core3.util.HashWrapper key, boolean local)
Create a new storage key for a given key

return
null if the key shouldn't be allocated (e.g.out of space)

public voidkeyDeleted(DHTStorageKey adapter_key)

public voidkeyRead(DHTStorageKey adapter_key, com.aelitis.azureus.core.dht.transport.DHTTransportContact contact)

public voidsetStorageForKey(java.lang.String key, byte[] data)

public voidvalueAdded(DHTStorageKey key, com.aelitis.azureus.core.dht.transport.DHTTransportValue value)

public voidvalueDeleted(DHTStorageKey key, com.aelitis.azureus.core.dht.transport.DHTTransportValue value)

public voidvalueUpdated(DHTStorageKey key, com.aelitis.azureus.core.dht.transport.DHTTransportValue old_value, com.aelitis.azureus.core.dht.transport.DHTTransportValue new_value)