Class ObjectStatisticsEvent
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.stat.ObjectStatisticsEvent
-
public class ObjectStatisticsEvent extends Object
Local object statistics change event.
-
-
Constructor Summary
Constructors Constructor Description ObjectStatisticsEvent(StatisticsKey key, ObjectStatisticsImpl statistics, AffinityTopologyVersion topVer)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticsKeykey()Get statistics key.ObjectStatisticsImplstatistics()Get object statistics.AffinityTopologyVersiontopologyVersion()Get affinity topology version.
-
-
-
Constructor Detail
-
ObjectStatisticsEvent
public ObjectStatisticsEvent(StatisticsKey key, ObjectStatisticsImpl statistics, AffinityTopologyVersion topVer)
Constructor.- Parameters:
key- Statistics key.statistics- Local object statistics.topVer- Affinity topology version for whick local object statistics were calculated.
-
-
Method Detail
-
key
public StatisticsKey key()
Get statistics key.- Returns:
- Statistics key.
-
statistics
public ObjectStatisticsImpl statistics()
Get object statistics.- Returns:
- Object statistics.
-
topologyVersion
public AffinityTopologyVersion topologyVersion()
Get affinity topology version.- Returns:
- topology version for which statisics were calculated.
-
-