Interface Journal.JournalConsumer
- All Superinterfaces:
AutoCloseable,Disposable
- All Known Implementing Classes:
BackupJournalRM.FlashConsumer,BackupJournalRM.RamConsumer,JournalBinaryStore,RamJournalRM.FlashConsumer
- Enclosing interface:
Journal
An interface that represents the actions that a Journal may request of
an object that uses the Journal.
- Since:
- Coherence 3.7
- Author:
- cp 2010-06-10
-
Method Summary
Modifier and TypeMethodDescriptionvoiddedupe(byte[][] aab) This method may be invoked by the Journal implementation to request that any immutable byte arrays managed by the consumer be de-duplicated.voidevacuate(long lTicketMask, long lTicketValue) This method may be invoked by the Journal implementation to request that the consumer evacuate a particular journal file.Format a String description of the Consumer.Methods inherited from interface com.oracle.coherence.common.base.Disposable
close, dispose
-
Method Details
-
evacuate
void evacuate(long lTicketMask, long lTicketValue) This method may be invoked by the Journal implementation to request that the consumer evacuate a particular journal file.- Parameters:
lTicketMask- indicates which bits of the tickets to checklTicketValue- indicates what bit pattern needs to be matched on the tickets in order to select them for evacuation
-
dedupe
void dedupe(byte[][] aab) This method may be invoked by the Journal implementation to request that any immutable byte arrays managed by the consumer be de-duplicated.- Parameters:
aab- an array of byte[] objects for intern-ing byte[] references
-
getDescription
String getDescription()Format a String description of the Consumer.- Returns:
- a comma-delimited key-value description of this object
-