Package com.biglybt.core.global.impl
Class GlobalManagerStatsImpl.AggregateStatsWrapper
java.lang.Object
com.biglybt.core.global.impl.GlobalManagerStatsImpl.AggregateStatsWrapper
- All Implemented Interfaces:
GlobalManagerStats.AggregateStats
- Enclosing class:
GlobalManagerStatsImpl
private class GlobalManagerStatsImpl.AggregateStatsWrapper
extends Object
implements GlobalManagerStats.AggregateStats
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final boolean
private int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
is_local
final boolean is_local -
last_local_seq
private int last_local_seq -
as_local_latest
-
-
Constructor Details
-
AggregateStatsWrapper
AggregateStatsWrapper(boolean _is_local)
-
-
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
-