|
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.BackupJournalRM.RamConsumer
protected class BackupJournalRM.RamConsumer
The RamConsumer is a pass-through consumer used to obtain a ram journal instance.
Constructor Summary | |
---|---|
protected |
BackupJournalRM.RamConsumer() |
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. |
BackupJournalRM.JournalImpl |
getBackupJournal() Obtain the instance of the backup journal. |
Journal.JournalConsumer |
getConsumer() Obtain the underlying consumer that this RamConsumer delegates to. |
java.lang.String |
getDescription() Format a String description of the Consumer. |
void |
setBackupJournal(BackupJournalRM.JournalImpl jrnlBackup) Specify the instance of the backup journal. |
Constructor Detail |
---|
protected BackupJournalRM.RamConsumer()
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 BackupJournalRM.JournalImpl getBackupJournal()
public void setBackupJournal(BackupJournalRM.JournalImpl jrnlBackup)
jrnlBackup
- the instance of the backup JournalImpl that this delegating RamConsumer is servingpublic Journal.JournalConsumer getConsumer()
|
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 |