Package com.tangosol.io.journal
Interface Journal.JournalConsumer
-
- All Superinterfaces:
AutoCloseable
,Disposable
- All Known Implementing Classes:
BackupJournalRM.FlashConsumer
,BackupJournalRM.RamConsumer
,JournalBinaryStore
,RamJournalRM.FlashConsumer
- Enclosing interface:
- Journal
public static interface Journal.JournalConsumer extends Disposable
An interface that represents the actions that a Journal may request of an object that uses the Journal.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.String
getDescription()
Format a String description of the Consumer.-
Methods inherited from interface com.oracle.coherence.common.base.Disposable
close, dispose
-
-
-
-
Method Detail
-
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
-
-