Package com.biglybt.core.global.impl
Class GlobalManagerStatsImpl.AggregateStatsImpl
java.lang.Object
com.biglybt.core.global.impl.GlobalManagerStatsImpl.AggregateStatsImpl
- All Implemented Interfaces:
GlobalManagerStats.AggregateStats
- Enclosing class:
GlobalManagerStatsImpl
private static class GlobalManagerStatsImpl.AggregateStatsImpl
extends Object
implements GlobalManagerStats.AggregateStats
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long
(package private) final long
(package private) final int
(package private) final int
(package private) final int
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateStatsImpl
(int _sequence) AggregateStatsImpl
(int _samples, int _population, int _sequence, long _latest_received, long _latest_sent, Map<String, Map<String, long[]>> _stats) -
Method Summary
-
Field Details
-
samples
final int samples -
population
final int population -
sequence
final int sequence -
latest_received
final long latest_received -
latest_sent
final long latest_sent -
stats
-
-
Constructor Details
-
AggregateStatsImpl
AggregateStatsImpl(int _sequence) -
AggregateStatsImpl
-
-
Method Details
-
getSamples
public int getSamples()- Specified by:
getSamples
in interfaceGlobalManagerStats.AggregateStats
-
getEstimatedPopulation
public int getEstimatedPopulation()- Specified by:
getEstimatedPopulation
in interfaceGlobalManagerStats.AggregateStats
-
getSequence
public int getSequence()- Specified by:
getSequence
in interfaceGlobalManagerStats.AggregateStats
-
getLatestReceived
public long getLatestReceived()- Specified by:
getLatestReceived
in interfaceGlobalManagerStats.AggregateStats
-
getLatestSent
public long getLatestSent()- Specified by:
getLatestSent
in interfaceGlobalManagerStats.AggregateStats
-
getStats
- Specified by:
getStats
in interfaceGlobalManagerStats.AggregateStats
-