| Package | Description |
|---|---|
| net.tomp2p.p2p | |
| net.tomp2p.peers |
| Modifier and Type | Method and Description |
|---|---|
void |
Replication.peerRemoved(PeerAddress peerAddress,
PeerStatatistic peerStatatistic) |
void |
Replication.peerUpdated(PeerAddress peerAddress,
PeerStatatistic peerStatatistic) |
| Constructor and Description |
|---|
Statistics(List<Map<Number160,PeerStatatistic>> peerMap,
int bagSize) |
| Modifier and Type | Method and Description |
|---|---|
PeerStatatistic |
Maintainable.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses) |
PeerStatatistic |
PeerMap.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses)
Finds the next peer that should have a maintenance check.
|
PeerStatatistic |
Maintenance.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses) |
PeerStatatistic |
DefaultMaintenance.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses)
Finds the next peer that should have a maintenance check.
|
| Modifier and Type | Method and Description |
|---|---|
List<Map<Number160,PeerStatatistic>> |
PeerMap.peerMapOverflow() |
List<Map<Number160,PeerStatatistic>> |
PeerMap.peerMapVerified() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultMaintenance.needMaintenance(PeerStatatistic peerStatatistic)
Indicates if a peer needs a maintenance check.
|
void |
PeerMapChangeListener.peerRemoved(PeerAddress peerAddress,
PeerStatatistic storedPeerAddress)
This method is called if a peer is removed from the map.
|
void |
PeerMapChangeListener.peerUpdated(PeerAddress peerAddress,
PeerStatatistic storedPeerAddress)
This method is called if a peer is updated.
|
Copyright © 2014. All rights reserved.