Package com.tangosol.io.journal
Class BackupJournalRM.FlashConsumer
java.lang.Object
com.tangosol.io.journal.BackupJournalRM.FlashConsumer
- All Implemented Interfaces:
- Disposable,- Journal.JournalConsumer,- AutoCloseable
- Enclosing class:
- BackupJournalRM
The FlashConsumer is a "dummy" consumer used to obtain a flash journal
 instance.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.voiddispose()Invoked when all resources owned by the implementer can safely be released.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 class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.coherence.common.base.Disposableclose
- 
Constructor Details- 
FlashConsumerprotected FlashConsumer()
 
- 
- 
Method Details- 
evacuatepublic 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.- Specified by:
- evacuatein interface- Journal.JournalConsumer
- Parameters:
- lTicketMask- indicates which bits of the tickets to check
- lTicketValue- indicates what bit pattern needs to be matched on the tickets in order to select them for evacuation
 
- 
dedupepublic 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.- Specified by:
- dedupein interface- Journal.JournalConsumer
- Parameters:
- aab- an array of byte[] objects for intern-ing byte[] references
 
- 
getDescriptionFormat a String description of the Consumer.- Specified by:
- getDescriptionin interface- Journal.JournalConsumer
- Returns:
- a comma-delimited key-value description of this object
 
- 
disposepublic void dispose()Invoked when all resources owned by the implementer can safely be released.Once disposed of the object should no longer be considered to be usable. Note the Disposable interface is compatible with try-with-resources which will automatically invoke this method. - Specified by:
- disposein interface- Disposable
 
 
-