Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5724

Fix javadocs for cache.util.ObjectSizer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.10.0
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              jasonhuynh Jason Huynh
              karensmolermiller Karen Smoler Miller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m