geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick Cavender (Jira)" <>
Subject [jira] [Closed] (GEODE-2685) request that ParitionedRegion getStatistics be a supported operation
Date Thu, 26 Sep 2019 18:04:06 GMT


Dick Cavender closed GEODE-2685.

> request that ParitionedRegion getStatistics be a supported operation
> --------------------------------------------------------------------
>                 Key: GEODE-2685
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: regions
>            Reporter: Darrel Schneider
>            Assignee: Alberto Gomez
>            Priority: Major
>              Labels: starter, storage_2
>             Fix For: 1.10.0
>          Time Spent: 7h 50m
>  Remaining Estimate: 0h
> 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. 

This message was sent by Atlassian Jira

View raw message