| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.p2p | |
| net.tomp2p.p2p.builder |
| Modifier and Type | Method and Description |
|---|---|
FutureChannelCreator |
Reservation.create(RoutingConfiguration routingConfiguration,
RequestP2PConfiguration requestP2PConfiguration,
DHTBuilder<?> builder)
This will calculate the number of required connection for routing and
request messages.
|
| 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.
|
RequestP2PConfiguration |
RequestP2PConfiguration.adjustMinimumResult(int minimumResultsLow) |
| 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.
|
static <K extends FutureDHT<?>> |
DistributedHashTable.parallelRequests(RequestP2PConfiguration p2pConfiguration,
NavigableSet<PeerAddress> queue,
boolean cancleOnFinish,
FutureChannelCreator futureChannelCreator,
OperationMapper<K> operation,
K futureDHT)
Creates RPCs and executes them parallel.
|
| Modifier and Type | Field and Description |
|---|---|
protected RequestP2PConfiguration |
DHTBuilder.requestP2PConfiguration |
| Modifier and Type | Method and Description |
|---|---|
RequestP2PConfiguration |
BootstrapBuilder.getRequestP2PConfiguration() |
RequestP2PConfiguration |
DHTBuilder.getRequestP2PConfiguration() |
RequestP2PConfiguration |
BasicBuilder.getRequestP2PConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RoutingBuilder |
DHTBuilder.createBuilder(RequestP2PConfiguration requestP2PConfiguration,
RoutingConfiguration routingConfiguration) |
RoutingBuilder |
BasicBuilder.createBuilder(RequestP2PConfiguration requestP2PConfiguration,
RoutingConfiguration routingConfiguration) |
BootstrapBuilder |
BootstrapBuilder.setRequestP2PConfiguration(RequestP2PConfiguration requestP2PConfiguration) |
K |
DHTBuilder.setRequestP2PConfiguration(RequestP2PConfiguration requestP2PConfiguration) |
K |
BasicBuilder.setRequestP2PConfiguration(RequestP2PConfiguration requestP2PConfiguration) |
Copyright © 2014. All rights reserved.