Lucene - Core
  1. Lucene - Core
  2. LUCENE-6147

Make the core Accountables.namedAccountable function public

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Accountables has a number of methods named namedAccountable. The core one of these works by taking a snapshot with an anonymous Accountable. This method is currently private due to concerns over safety. However, I think we should make it public, and document the how safety can be achieved (which is by only using that and the other namedAccountable methods).

        Activity

        Hide
        Ryan Ernst added a comment -

        Patch.

        Show
        Ryan Ernst added a comment - Patch.
        Hide
        Robert Muir added a comment -

        Looks great. Thanks for fixing the docs: they are currently buggy.

        Show
        Robert Muir added a comment - Looks great. Thanks for fixing the docs: they are currently buggy.
        Hide
        ASF subversion and git services added a comment -

        Commit 1648657 from Ryan Ernst in branch 'dev/trunk'
        [ https://svn.apache.org/r1648657 ]

        LUCENE-6147: Make the core Accountables.namedAccountable function public

        Show
        ASF subversion and git services added a comment - Commit 1648657 from Ryan Ernst in branch 'dev/trunk' [ https://svn.apache.org/r1648657 ] LUCENE-6147 : Make the core Accountables.namedAccountable function public
        Hide
        ASF subversion and git services added a comment -

        Commit 1648658 from Ryan Ernst in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1648658 ]

        LUCENE-6147: Make the core Accountables.namedAccountable function public (merged 1648657)

        Show
        ASF subversion and git services added a comment - Commit 1648658 from Ryan Ernst in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1648658 ] LUCENE-6147 : Make the core Accountables.namedAccountable function public (merged 1648657)
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Ryan Ernst
            Reporter:
            Ryan Ernst
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development