You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2019/09/26 18:05:07 UTC

[jira] [Closed] (GEODE-5724) Fix javadocs for cache.util.ObjectSizer

     [ https://issues.apache.org/jira/browse/GEODE-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dick Cavender closed GEODE-5724.
--------------------------------

> Fix javadocs for cache.util.ObjectSizer
> ---------------------------------------
>
>                 Key: GEODE-5724
>                 URL: https://issues.apache.org/jira/browse/GEODE-5724
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Karen Smoler Miller
>            Assignee: Jason Huynh
>            Priority: Minor
>              Labels: SmallFeature, starter
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The javadocs description for org.apache.geode.cache.util.ObjectSizer look like this:
> {{public interface ObjectSizer}}
> {{The sizer interface defines a method that when called returns the size of the object passed in. Implementations may return hardcoded values for object size if the implementation knows the object size for all objects that are likely to be cached. You should use a sizer with a EvictionAttributes.createLRUHeapAttributes(ObjectSizer) or EvictionAttributes.createLRUMemoryAttributes(ObjectSizer) if you want to use a faster or more accurate method of sizing than provided by the default object sizer, which is {#link SIZE_CLASS_ONCE}}
> Notice that the last part of the description is not right. It needs to be fixed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)