136137138139140141142143144145146147148149150151152
getOverallStats() { try{ class_mon.enter(); DHTTransportStatsImpl overall_stats = new DHTTransportLoopbackStatsImpl( VERSION ); Iterator it = node_map.values().iterator(); while( it.hasNext()){ overall_stats.add((DHTTransportStatsImpl)((DHTTransportLoopbackImpl)it.next()).getStats()); } return( overall_stats ); }finally{
9596979899100101102103104105
} public DHTTransportStats snapshot() { DHTTransportStatsImpl res = new DHTTransportUDPStatsImpl( transport, getProtocolVersion(), stats.snapshot()); snapshotSupport( res ); return( res ); }
7879808182838485868788
} public DHTTransportStats snapshot() { DHTTransportStatsImpl res = new DHTTransportLoopbackStatsImpl(getProtocolVersion()); snapshotSupport( res ); return( res ); }