On Wed, Apr 4, 2018 at 5:27 AM, Alexey Goncharuk <alexey.goncha...@gmail.com > wrote:
> Denis, > > I think this particular metric should be deprecated. The most we can do > about it is to return the actual allocated size when a cache is the only > cache in a group and return -1 if there are multiple caches in a group. > However, this does not look like a consistent approach to me, so I would > prefer to always return -1 and suggest that users use corresponding cache > group metrics. > Why not return cache group metrics from this method by default and properly document it?