Interface RamJournalRM.Dependencies

    • Method Detail

      • isNioRam

        boolean isNioRam()
        Return if the journal will use off-heap buffers (NIO RAM) instead of on-heap buffers (byte arrays).
        Returns:
        true if the journal is configured to use NIO "direct buffer" RAM
      • getMaxPoolSize

        long getMaxPoolSize()
        Return the maximum size (in bytes) of the buffers that can be held by the pool. This is not a limit of how many buffers can be allocated, since some may be in use at any time, but rather how many will be held by the pool (i.e. recycled) as they are released.
        Returns:
        the maximum size in bytes of all of the buffers that the buffer pool can hold onto