Interface MemoryResident

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MemoryResident
    A calculation of an object that has resources residing in memory.
    • Method Detail

      • estimateMemoryUsage

        MemoryRange estimateMemoryUsage​(GraphDimensions dimensions,
                                        int concurrency)
        Returns:
        the number of bytes that this object occupies in memory.