Package com.tangosol.io.journal
package com.tangosol.io.journal
Contains classes related to the journaling services.
- Since:
- 3.7
-
ClassDescriptionThe AbstractJournalRM represents a Journal Resource Manager that manages storage for journaled data, and acts as a shared resource for any number of journals that share a common configuration.The DefaultDependencies class provides a default implementation of Dependencies.The Dependencies interface provides AbstractJournalRM with its external dependencies.The BackupJournalRM is a "meta" journal resource manager that is intended to be used for storage of "backup" data.A FlashJournalRM manages disk I/O for temporary journal-based files, and acts as a shared resource for any number of journals that share a common configuration.A Buffer is a handy shell with some helper methods around a byte[] and a ByteBuffer.The BufferPool class recycles up to a maximum number of Buffer objects.A CongestionPolicy defines how to behave when the currently active
FlashJournalRM.JournalFilebecomes congested.The DefaultDependencies class provides a default implementation of Dependencies.The Dependencies interface provides a FlashJournalRM object with its external dependencies.AFlashJournalRM.CongestionPolicythat fails, by throwing an unchecked exception, whenFlashJournalRM.FailCongestionPolicy.onCongestion(FlashJournalRM.JournalFile)is invoked.Resettable FlashJournal file creation and deletion statistics.AFlashJournalRM.CongestionPolicywhich blocks the current thread on theFlashJournalRM.JournalFile's monitor until awoken.Cumulative statistics for the FlashJournal writer.The Journal interface represents data that is written as part of a stream of updates, with the ability to identify writes (and later read them) using a ticket system.An interface that represents the actions that a Journal may request of an object that uses the Journal.A BinaryStore that writes to a Journal.The ClearListener is used to ensure that entries are removed from the journal when the corresponding keys areclearedfrom the ticket tree.AJournalMBeanis an MBean interface providing statistics for a Journal Resource Manager as implemented by eitherFlashJournalRMorRamJournalRMimplementations.A JournalService manages the lifecycle for theRamJournalRM,FlashJournalRM, and theBackupJournalRM.A RamJournalRM manages memory buffers for journal-based storage in memory, and acts as a shared resource for any number of journals that share a common configuration.The DefaultDependencies class provides a default implementation of Dependencies.The Dependencies interface provides a RamJournalRM object with its external dependencies.