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

javadocs on PartitionAttributesFactory.LOCAL_MAX_MEMORY_DEFAULT refers to internal code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.12.0
    • None
    • core
    • None

    Description

      The deprecation javadocs on PartitionAttributesFactory.LOCAL_MAX_MEMORY_DEFAULT tells users to use PartitionAttributesImpl.getLocalMaxMemoryDefault() instead. Non-internal javadocs should never refer to internal APIs. Geode does not have an alternative way of computing this default value statically. The only problem with the deprecated constant is that it is wrong for off-heap regions. The deprecation tag should just mention this and not tell you about any other api you can use.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dschneider Darrel Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: