Package | Description |
---|---|
net.tomp2p.futures | |
net.tomp2p.p2p | |
net.tomp2p.storage | |
net.tomp2p.task |
Modifier and Type | Method and Description |
---|---|
SortedMap<PeerAddress,DigestInfo> |
FutureRouting.getDirectHitsDigest()
The direct hits map contains those peers that reported to have the key
(Number160) we were looking for including its digest (size of the result
set and its xored hashes).
|
Modifier and Type | Method and Description |
---|---|
void |
FutureRouting.setNeighbors(SortedMap<PeerAddress,DigestInfo> directHits,
NavigableSet<PeerAddress> potentialHits,
SortedSet<PeerAddress> routingPath,
boolean isBootstrap,
boolean isRoutingToOther)
Sets the result of the routing process and finishes the future.
|
Modifier and Type | Method and Description |
---|---|
static RequestP2PConfiguration |
DistributedHashTable.adjustConfiguration(RequestP2PConfiguration p2pConfiguration,
SortedMap<PeerAddress,DigestInfo> directHitsDigest)
Adjusts the number of minimum requests in the P2P configuration.
|
Modifier and Type | Method and Description |
---|---|
DigestInfo |
TrackerStorage.digest(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys) |
DigestInfo |
Digest.digest(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys)
Calculates a digest over a specific location and domain.
|
DigestInfo |
StorageGeneric.digest(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys) |
DigestInfo |
TrackerStorage.digest(Number160 locationKey,
Number160 domainKey,
SimpleBloomFilter<Number160> bloomFilter1,
SimpleBloomFilter<Number160> bloomFilter2) |
DigestInfo |
Digest.digest(Number160 locationKey,
Number160 domainKey,
SimpleBloomFilter<Number160> keyBloomFilter,
SimpleBloomFilter<Number160> contentBloomFilter)
Calculates a digest over a specific location and domain.
|
DigestInfo |
StorageGeneric.digest(Number160 locationKey,
Number160 domainKey,
SimpleBloomFilter<Number160> keyBloomFilter,
SimpleBloomFilter<Number160> contentBloomFilter) |
Modifier and Type | Method and Description |
---|---|
DigestInfo |
TaskManager.digest() |
Copyright © 2013. All Rights Reserved.