Package | Description |
---|---|
com.tangosol.io.journal |
Contains classes related to the journaling services.
|
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractJournalRM.CollectorDaemon.InvokeGCJournalFile
A
AbstractJournalRM.JournalFile implementation returned when the journal has consumed all known capacity. |
protected class |
FlashJournalRM.JournalFile
A JournalFile is created for each OS file used to store the journal contents.
|
protected class |
RamJournalRM.JournalFile
A JournalFile is created for each RAM buffer used to store the journal contents.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractJournalRM.JournalFile[] |
AbstractJournalRM.m_ajournalfile
Registry of JournalFile objects indexed by file id.
|
protected AbstractJournalRM.JournalFile |
AbstractJournalRM.m_jrnlfile
The current JournalFile.
|
protected AbstractJournalRM.JournalFile |
AbstractJournalRM.JournalFile.m_jrnlfileNext
The JournalFile that "comes after" this JournalFile in the journal.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractJournalRM.JournalFile |
AbstractJournalRM.ensureCurrentJournalFile()
Obtain the current JournalFile that is being appended to, creating a new one if necessary.
|
AbstractJournalRM.JournalFile |
AbstractJournalRM.CollectorDaemon.CollectionCoordinator.ensureReservedFile()
Return a reserved file.
|
AbstractJournalRM.JournalFile |
AbstractJournalRM.CollectorDaemon.CollectionCoordinator.getFinalJournalFile()
Return a
AbstractJournalRM.JournalFile based on the context of the calling thread or null if it is determined that an exhaustive evacuation will not reclaim sufficient memory. |
protected AbstractJournalRM.JournalFile |
AbstractJournalRM.getJournalFile(int nFileId)
Obtain a JournalFile by its ID.
|
AbstractJournalRM.JournalFile |
AbstractJournalRM.JournalFile.getNextJournalFile()
Determine the JournalFile for the file in the journal that follows the file represented by this JournalFile.
|
protected AbstractJournalRM.JournalFile |
AbstractJournalRM.getSurvivorFile()
Return a
AbstractJournalRM.JournalFile based on the context of the calling thread or null if it is determined that an exhaustive evacuation will not reclaim sufficient memory. |
protected AbstractJournalRM.JournalFile |
RamJournalRM.getSurvivorFile()
Return a
AbstractJournalRM.JournalFile based on the context of the calling thread or null if it is determined that an exhaustive evacuation will not reclaim sufficient memory. |
protected abstract AbstractJournalRM.JournalFile |
AbstractJournalRM.instantiateJournalFile(int nFile)
Factory: Instantiate a JournalFile or subclass thereof.
|
Modifier and Type | Method and Description |
---|---|
protected Iterator<AbstractJournalRM.JournalFile> |
AbstractJournalRM.iterateJournalFiles()
Iterate all of the JournalFile objects.
|
protected Iterator<AbstractJournalRM.JournalFile> |
AbstractJournalRM.CollectorDaemon.sortedIterator()
Returns a sorted
Iterator based on the amount of released memory in each AbstractJournalRM.JournalFile . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJournalRM.CollectorDaemon.CollectionCoordinator.actionable(AbstractJournalRM.JournalFile jrnlFile)
Inform the CollectionCoordinator of an item that could be actioned if the CollectorDaemon was to execute.
|
protected void |
AbstractJournalRM.CollectorDaemon.CollectionCoordinator.evacuate(AbstractJournalRM.JournalFile jrnlFile)
Inform the CollectionCoordinator of a
AbstractJournalRM.JournalFile about to be evacuated. |
protected void |
AbstractJournalRM.CollectorDaemon.CollectionCoordinator.reclaimJournalFile(AbstractJournalRM.JournalFile jrnlFile)
A
AbstractJournalRM.JournalFile has been dereferenced thus memory has been reclaimed. |
void |
AbstractJournalRM.JournalFile.setNextJournalFile(AbstractJournalRM.JournalFile jrnlfileNext)
Once this file has been filled, it gets a reference to the file that follows it.
|