[map] Add missing counts of misses and evictions to LocalMapStats #3009
Labels
Module: IMap
Priority: Medium
Source: Community
PR or issue was opened by a community user
Team: Core
Type: Enhancement
Milestone
The
LocalMapStats
interface has agetHits
method, but this isn't much use in and of itself. It needs a correspondinggetMisses
method to give it come context. This method used to be present in hazelcast 2.x, but seems to have been inadvertently deleted in 3.x.While we're at it, we also need a
getEvictions
statistic to get a count of the number of elements that have been evicted (due to TTL or too-many-items, for example).The text was updated successfully, but these errors were encountered: