Interface MemoryObject

  • All Known Implementing Classes:
    PageFile, TreeStoreNodeState

    public interface MemoryObject
    A interface for memory-bound cache objects.
    • Method Detail

      • estimatedMemory

        long estimatedMemory()
        Get the estimate memory size. The value must not change afterwards, otherwise the memory calculation is wrong.
        Returns:
        the memory in bytes