|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.io.journal.RamJournalRM.FlashConsumer
protected class RamJournalRM.FlashConsumer
The FlashConsumer is a conduit between this RamJournalRM and the FlashJournalRM, allowing this journal to read/write to/from the other flash journal, and for the flash journal to notify this journal of lifecycle and other events.
Constructor Summary | |
---|---|
protected |
RamJournalRM.FlashConsumer() |
Method Summary | |
---|---|
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 |
dispose() |
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. |
java.lang.String |
getDescription() Format a String description of the Consumer. |
Journal |
getJournal() Obtain the flash Journal instance. |
void |
notifyRamJournalDisposed() Notifies the JournalConsumer that the RamJournalRM that uses it has been disposed. |
void |
setJournal(Journal jrnl) Provide the FlashConsumer with a Journal instance that provides flash storage. |
Constructor Detail |
---|
protected RamJournalRM.FlashConsumer()
Method Detail |
---|
public void evacuate(long lTicketMask, long lTicketValue)
evacuate
in interface Journal.JournalConsumer
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 evacuationpublic void dedupe(byte[][] aab)
dedupe
in interface Journal.JournalConsumer
aab
- an array of byte[] objects for intern-ing byte[] referencespublic java.lang.String getDescription()
getDescription
in interface Journal.JournalConsumer
public void dispose()
dispose
in interface com.oracle.common.base.Disposable
public Journal getJournal()
public void setJournal(Journal jrnl)
jrnl
- a Journal from a FlashJournalRMpublic void notifyRamJournalDisposed()
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |