Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2685

request that ParitionedRegion getStatistics be a supported operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • regions

    Description

      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.

      It would be even better for getStatistics to not be a snapshot since that is the current, non-partitioned, behavior.

      Attachments

        Issue Links

          Activity

            People

              alberto.gomez Alberto Gomez
              dschneider Darrel Schneider
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 50m
                  7h 50m