Package com.tangosol.io.journal
Interface RamJournalRM.Dependencies
-
- All Superinterfaces:
AbstractJournalRM.Dependencies
- All Known Implementing Classes:
RamJournalRM.DefaultDependencies
- Enclosing class:
- RamJournalRM
public static interface RamJournalRM.Dependencies extends AbstractJournalRM.Dependencies
The Dependencies interface provides a RamJournalRM object with its external dependencies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaxPoolSize()
Return the maximum size (in bytes) of the buffers that can be held by the pool.boolean
isNioRam()
Return if the journal will use off-heap buffers (NIO RAM) instead of on-heap buffers (byte arrays).-
Methods inherited from interface com.tangosol.io.journal.AbstractJournalRM.Dependencies
getCollectorLoadFactor, getCollectorTimeout, getMaxFileSize, getMaxJournalSize, getMaxValueSize
-
-
-
-
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
-
-