public class IgniteStatisticsDummyStoreImpl extends Object implements IgniteStatisticsStore
| Constructor and Description |
|---|
IgniteStatisticsDummyStoreImpl(Function<Class<?>,IgniteLogger> logSupplier)
Constructor.
|
public IgniteStatisticsDummyStoreImpl(Function<Class<?>,IgniteLogger> logSupplier)
logSupplier - Log supplier.public void clearAllStatistics()
clearAllStatistics in interface IgniteStatisticsStorepublic Map<StatisticsKey,Collection<ObjectPartitionStatisticsImpl>> getAllLocalPartitionsStatistics(String schema)
getAllLocalPartitionsStatistics in interface IgniteStatisticsStoreschema - Schema name, if null - returl local partitions statistics for all schemas.public void replaceLocalPartitionsStatistics(StatisticsKey key, Collection<ObjectPartitionStatisticsImpl> statistics)
replaceLocalPartitionsStatistics in interface IgniteStatisticsStorekey - Statistics key to replace statistics by.statistics - Collection of partition level statistics.public Collection<ObjectPartitionStatisticsImpl> getLocalPartitionsStatistics(StatisticsKey key)
getLocalPartitionsStatistics in interface IgniteStatisticsStorekey - Key to get statistics by.public void clearLocalPartitionsStatistics(StatisticsKey key)
clearLocalPartitionsStatistics in interface IgniteStatisticsStorekey - Key to clear statistics by.public ObjectPartitionStatisticsImpl getLocalPartitionStatistics(StatisticsKey key, int partId)
getLocalPartitionStatistics in interface IgniteStatisticsStorekey - Key to get partition statistics by.partId - Partition id.null if there are no statistics collected for such partition.public void clearLocalPartitionStatistics(StatisticsKey key, int partId)
clearLocalPartitionStatistics in interface IgniteStatisticsStorekey - Object which statistics needs to be cleaned.partId - Partition id.public void clearLocalPartitionsStatistics(StatisticsKey key, Collection<Integer> partIds)
clearLocalPartitionsStatistics in interface IgniteStatisticsStorekey - Object which statistics need to be cleaned.partIds - Collection of partition ids.public void saveLocalPartitionStatistics(StatisticsKey key, ObjectPartitionStatisticsImpl statistics)
saveLocalPartitionStatistics in interface IgniteStatisticsStorekey - Object which partition statistics belongs to.statistics - Statistics to save.public void saveObsolescenceInfo(Map<StatisticsKey,IntMap<ObjectPartitionStatisticsObsolescence>> obsolescence)
saveObsolescenceInfo in interface IgniteStatisticsStoreobsolescence - Statistics key to partId to obsolescence info map to save.public void saveObsolescenceInfo(StatisticsKey key, int partId, ObjectPartitionStatisticsObsolescence partObs)
saveObsolescenceInfo in interface IgniteStatisticsStorekey - Statistics key which it is belongs to.partId - Partition id.partObs - Info to save.public void clearObsolescenceInfo(StatisticsKey key, Collection<Integer> partIds)
clearObsolescenceInfo in interface IgniteStatisticsStorekey - Statistics key to remove obsolescense info by.partIds - Partition ids, if null - remove all partitions info for specified key.public Map<StatisticsKey,IntMap<ObjectPartitionStatisticsObsolescence>> loadAllObsolescence()
loadAllObsolescence in interface IgniteStatisticsStorepublic Collection<Integer> loadLocalPartitionMap(StatisticsKey key)
loadLocalPartitionMap in interface IgniteStatisticsStorekey - Staistics key to load map by.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025