Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.io.journal
Interface FlashJournalRM.Dependencies

All Superinterfaces:
AbstractJournalRM.Dependencies
All Known Implementing Classes:
FlashJournalRM.DefaultDependencies
Enclosing class:
FlashJournalRM

public static interface FlashJournalRM.Dependencies
extends AbstractJournalRM.Dependencies

The Dependencies interface provides a FlashJournalRM object with its external dependencies.


Method Summary
 int getBufferSize()
          Return the size of the write buffers.
 java.lang.String getDirectory()
          Return the directory used to store the underlying disk files for the journal.
 int getHighFileCount()
          Return the file count at which compulsory garbage collection (compaction) should start.
 int getMaxBacklogSize()
          Return the size in bytes of the maximum backlog.
 long getMaxPoolSize()
          Return the maximum size of the write buffers pool.
 long getPurgeDelayMillis()
          Return the delay since the last touch of a tmp file until it is eligible for purging.
 long getWriterTimeout()
          Return the number of milliseconds the Writer daemon can be unresponsive prior to considering it timed out.

 

Methods inherited from interface com.tangosol.io.journal.AbstractJournalRM.Dependencies
getCollectorLoadFactor, getCollectorTimeout, getMaxFileSize, getMaxJournalSize, getMaxValueSize

 

Method Detail

getBufferSize

int getBufferSize()
Return the size of the write buffers.
Returns:
size of write buffers

getMaxPoolSize

long getMaxPoolSize()
Return the maximum size of the write buffers pool.
Returns:
maximum size of write buffers pool

getDirectory

java.lang.String getDirectory()
Return the directory used to store the underlying disk files for the journal.
Returns:
the directory that is used to hold the journal files, or null if the default temporary directory is used

getMaxBacklogSize

int getMaxBacklogSize()
Return the size in bytes of the maximum backlog.
Returns:
the size in bytes of the maximum backlog

getPurgeDelayMillis

long getPurgeDelayMillis()
Return the delay since the last touch of a tmp file until it is eligible for purging. Tmp files are purged at startup of the FlashJournalRM to clean up tmp files from a previous instance of the FlashJournalRM.
Returns:
the delay in milliseconds

getHighFileCount

int getHighFileCount()
Return the file count at which compulsory garbage collection (compaction) should start. During compulsory GC, the file with the least live data is considered for compaction irrespective of the CollectorLoadFactor.

This allows the GC thread to tune itself to try to avoid growing the journal beyond the high file count. However, this is not a hard-limit and the journal could still grow beyond that up to the max file count.

Returns:
the high file count

getWriterTimeout

long getWriterTimeout()
Return the number of milliseconds the Writer daemon can be unresponsive prior to considering it timed out.
Returns:
the number of milliseconds the Writer can be unresponsive

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


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