[JBoss JIRA] (ISPN-5073) Improve "Number of Entries" stats
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-5073:
-------------------------------------
Summary: Improve "Number of Entries" stats
Key: ISPN-5073
URL: https://issues.jboss.org/browse/ISPN-5073
Project: Infinispan
Issue Type: Task
Components: Core, JMX, reporting and management
Affects Versions: 7.1.0.Alpha1
Reporter: Tristan Tarrant
Assignee: Vladimir Blagojevic
Fix For: 7.1.0.Beta1
Currently the getNumberOfEntries in CacheMgmtInterceptor returns the size of the datacontainer which doesn't take into account expired entries and cache stores.
To avoid compatibility issues, modify the description to reflect its behaviour and add proper statistics, possibly with different flag combinations (SKIP_REMOTE, SKIP_CACHE_LOAD)
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (ISPN-5032) Create dedicated GetCacheEntryCommand to simplify code and save memory on GetKeyValueCommand
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5032?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5032:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.1.0.Final
Resolution: Done
> Create dedicated GetCacheEntryCommand to simplify code and save memory on GetKeyValueCommand
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-5032
> URL: https://issues.jboss.org/browse/ISPN-5032
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Priority: Minor
> Labels: performance
> Fix For: 7.1.0.Beta1, 7.1.0.Final
>
>
> Class {{GetKeyValueCommand}} is a strong allocation hot spot and can be simplified as some fields are easily factored out.
> There have been TODO comments in there for a while, I'm creating a dedicated {{GetCacheEntryCommand}} for when we need to fetch the whole entry rather than just the value.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months