Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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
 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

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.