public interface Maintenance
| Modifier and Type | Method and Description |
|---|---|
Maintenance |
init(List<Map<Number160,PeerStatistic>> peerMapVerified,
List<Map<Number160,PeerStatistic>> peerMapNonVerified,
ConcurrentCacheMap<Number160,PeerAddress> offlineMap,
ConcurrentCacheMap<Number160,PeerAddress> shutdownMap,
ConcurrentCacheMap<Number160,PeerAddress> exceptionMap)
Initializes the maintenance class.
|
PeerStatistic |
nextForMaintenance(Collection<PeerAddress> notInterestedAddresses) |
Maintenance init(List<Map<Number160,PeerStatistic>> peerMapVerified, List<Map<Number160,PeerStatistic>> peerMapNonVerified, ConcurrentCacheMap<Number160,PeerAddress> offlineMap, ConcurrentCacheMap<Number160,PeerAddress> shutdownMap, ConcurrentCacheMap<Number160,PeerAddress> exceptionMap)
peerMapVerified - The map with the bags of verified peerspeerMapNonVerified - The map with the bags of non verified peersofflineMap - The map with the offline peersexceptionMap - The map with the peers that caused an exceptionshutdownMap - The map with the peers that friendly quitPeerStatistic nextForMaintenance(Collection<PeerAddress> notInterestedAddresses)
Copyright © 2014. All rights reserved.