| Package | Description |
|---|---|
| net.tomp2p.message | |
| net.tomp2p.peers |
| Constructor and Description |
|---|
TrackerData(Collection<Pair<PeerStatistic,Data>> value) |
| Modifier and Type | Method and Description |
|---|---|
PeerStatistic |
PeerStatistic.local() |
PeerStatistic |
Maintainable.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses) |
PeerStatistic |
PeerMap.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses)
Finds the next peer that should have a maintenance check.
|
PeerStatistic |
LocalMap.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses) |
PeerStatistic |
Maintenance.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses) |
PeerStatistic |
DefaultMaintenance.nextForMaintenance(Collection<PeerAddress> notInterestedAddresses)
Finds the next peer that should have a maintenance check.
|
PeerStatistic |
PeerStatistic.setLocal(boolean local) |
PeerStatistic |
LocalMap.translate(PeerAddress remotePeer) |
static PeerStatistic |
PeerMap.updateExistingVerifiedPeerAddress(Map<Number160,PeerStatistic> tmp,
PeerAddress peerAddress,
boolean firstHand)
Checks if a peer already exists in this map and if it does, it will update the entry because the peer address
(e.g.
|
| Modifier and Type | Method and Description |
|---|---|
List<Map<Number160,PeerStatistic>> |
PeerMap.peerMapOverflow() |
List<Map<Number160,PeerStatistic>> |
PeerMap.peerMapVerified() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DefaultMaintenance.needMaintenance(PeerStatistic peerStatatistic,
int[] intervalSeconds)
Indicates if a peer needs a maintenance check.
|
void |
PeerMapChangeListener.peerRemoved(PeerAddress peerAddress,
PeerStatistic storedPeerAddress)
This method is called if a peer is removed from the map.
|
void |
PeerMapChangeListener.peerUpdated(PeerAddress peerAddress,
PeerStatistic storedPeerAddress)
This method is called if a peer is updated.
|
Copyright © 2014. All rights reserved.