[
https://issues.apache.org/jira/browse/GEODE-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Huynh resolved GEODE-5724.
--------------------------------
Resolution: Fixed
> 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
> 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
(v7.6.3#76005)