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

Karen Smoler Miller updated GEODE-5724:
---------------------------------------
       Priority: Minor  (was: Major)
    Description: 
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.

  was:
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.


> 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
>            Priority: Minor
>
> 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)

Reply via email to