String () { StringBuilder sb = new StringBuilder(); for (Map.Entry<Path, PagesTable> e : pagesPerFile.entrySet()) { Path path = e.getKey(); PagesTable pagesTable = e.getValue(); AtomicReferenceArray<PageImpl> pages = pagesTable.pages(); int pagesCount = 0; int pageSize = 0; for (int i = 0; i < pages.length(); i++) { PageImpl page = pages.get(i); if (page != null) { pageSize = page.pageSize(); if (!page.isTombstone()) { pagesCount++; } } } sb.append('[').append(path).append("]: pageSize=").append(pageSize).append('\n'); sb.append("\tpagesTable: ") .append(pagesCount).append(" live out of ").append(pages.length()) .append('\n'); sb.append(pagesTable.probeLengthsHistogram()).append('\n'); } return sb.toString(); }