You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/03/17 18:18:41 UTC

[jira] [Created] (GEODE-2685) request that ParitionedRegion getStatistics be a supported operation

Darrel Schneider created GEODE-2685:
---------------------------------------

             Summary: request that ParitionedRegion getStatistics be a supported operation
                 Key: GEODE-2685
                 URL: https://issues.apache.org/jira/browse/GEODE-2685
             Project: Geode
          Issue Type: Improvement
          Components: regions
            Reporter: Darrel Schneider


The current implementation of PartitionedRegion getStatistics always throws UnsupportedOperationException.
It would be nice for this operation to be supported.

I think the statistics it returns could be a snapshot of the state of the local buckets in the PR at the time getStatistics is called. This could be implemented by iterating over the local internal BucketRegions and asking them for their statistics. For a PR accessor (no local buckets) the only stat that is needed is misses since you have no local buckets and every operation is a miss.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)