Interface Cacheable

    • Method Detail

      • getSizeInBytes

        long getSizeInBytes()
        Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size for smaller objects, but use approximate values for objects that include such large components that the approximation would produce an error so small that the extra computation would be wasteful.
        Returns:
        this Cacheable object's size in bytes