You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Karen Smoler Miller (JIRA)" <ji...@apache.org> on 2018/09/11 17:22:00 UTC

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

Karen Smoler Miller created GEODE-5724:
------------------------------------------

             Summary: 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


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
(v7.6.3#76005)