Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Labels:
      None

      Description

      Right now, Jackrabbit reports TimeSeries for things like BUNDLE_READ_COUNTER, BUNDLE_WRITE_COUNTER, etc. but there is no way to extend Jackrabbit and report TimeSeries for additional properties. That's because the type of TimeSeries are defined in RepositoryStatistics class as Type enum. Enums in Java cannot be extended which limits to TimeSeries to the Types defined in RepositoryStatistics.

      I suggest that RepositoryStatistics is improved to allow additional TimeSeries. One approach is to define an additional RepositoryStatistics#getType(String) method.

      1. JCR-3243-4.patch
        9 kB
        Mete Atamel
      2. JCR-3243-3.patch
        6 kB
        Mete Atamel
      3. JCR-3243-2.patch
        6 kB
        Mete Atamel
      4. JCR-3243.patch
        6 kB
        Mete Atamel

        Activity

        Mete Atamel created issue -
        Mete Atamel made changes -
        Field Original Value New Value
        Attachment JCR-3243.patch [ 12515758 ]
        Mete Atamel made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Mete Atamel made changes -
        Attachment JCR-3243-2.patch [ 12515920 ]
        Mete Atamel made changes -
        Attachment JCR-3243-3.patch [ 12516177 ]
        Mete Atamel made changes -
        Attachment JCR-3243-4.patch [ 12516946 ]
        Marcel Reutegger made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 2.5 [ 12319280 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mete Atamel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development