|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.io.journal.BackupJournalRM.JournalImpl
protected class BackupJournalRM.JournalImpl
A Journal implementation managed by this Journal Resource Manager.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tangosol.io.journal.Journal |
---|
Journal.JournalConsumer |
Constructor Summary | |
---|---|
BackupJournalRM.JournalImpl(Journal jrnlRam, Journal jrnlFlash) Construct a Journal that writes to the RAM journal until the configured load factor is exceeded, a which point it will write to the flash journal instead. |
Method Summary | |
---|---|
void |
dispose() |
protected Journal.JournalConsumer |
getConsumer() Obtain the JournalConsumer (typically a JournalBinaryStore) instance associated with this JournalImpl. |
Binary |
read(long lTicket) Using a ticket returned from a previous call to Journal.write(com.tangosol.util.Binary) , read the Binary value that was written to the Journal. |
int |
release(long lTicket) Notify the Journal that the value corresponding to the specified ticket is no longer needed. |
protected void |
setConsumer(Journal.JournalConsumer consumer) Specify the JournalConsumer (typically a JournalBinaryStore) instance that this JournalImpl was created for. |
java.lang.String |
toString() |
long |
write(Binary bin) Write a Binary value to the Journal and return a ticket for it. |
Constructor Detail |
---|
public BackupJournalRM.JournalImpl(Journal jrnlRam, Journal jrnlFlash)
jrnlRam
- the RAM journal to usejrnlFlash
- the flash journal to useMethod Detail |
---|
public long write(Binary bin)
write
in interface Journal
bin
- the Binary to write to the Journalpublic Binary read(long lTicket)
Journal.write(com.tangosol.util.Binary)
, read the Binary value that was written to the Journal.read
in interface Journal
lTicket
- a ticket returned from a previous call to Journal.write(com.tangosol.util.Binary)
public int release(long lTicket)
release
in interface Journal
lTicket
- a ticket returned from a previous call to Journal.write(com.tangosol.util.Binary)
public void dispose()
protected Journal.JournalConsumer getConsumer()
protected void setConsumer(Journal.JournalConsumer consumer)
consumer
- a JournalConsumerpublic java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |