Interface MemoryMonitor

    • Method Detail

      • getMemoryUsage

        long getMemoryUsage()
        Returns the size of the java heap used by the bundles in this resource context.

        The ResourceMonitor.getUsage() method returns the same value, wrapped in a long.

        Returns:
        the size of the used java heap in bytes