Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2085

Move CacheStats humanReadableByteCount to Oak Commons IOUtils

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.6, 1.1.0
    • commons
    • None

    Description

      CacheStatImpl has a humanReadableByteCount which converts byte size to MB/GB etc based on http://stackoverflow.com/a/3758880/1035417

      Currently it has been copied at few places in Oak (me being lazy). It must be moved to Oak Commons and all other code must refer to that

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: