Interface MemoryTree


  • public interface MemoryTree
    A tree shaped description of an object that has resources residing in memory.
    • Method Detail

      • description

        java.lang.String description()
        Returns:
        a textual description for this component.
      • memoryUsage

        MemoryRange memoryUsage()
        Returns:
        The resident memory of this component.
      • components

        default java.util.Collection<MemoryTree> components()
        Returns:
        nested resources of this component.
      • renderMap

        default java.util.Map<java.lang.String,​java.lang.Object> renderMap()
      • render

        default java.lang.String render()
        Renders the memory requirements into a human readable representation.
      • render

        static void render​(java.lang.StringBuilder sb,
                           MemoryTree estimation,
                           int depth)