| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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
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 use| Method Detail | 
|---|
public long write(Binary bin)
write in interface Journalbin - 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 JournallTicket - a ticket returned from a previous call to Journal.write(com.tangosol.util.Binary)public int release(long lTicket)
release in interface JournallTicket - a ticket returned from a previous call to Journal.write(com.tangosol.util.Binary)public void dispose()
dispose in interface com.oracle.common.base.Disposableprotected Journal.JournalConsumer getConsumer()
protected void setConsumer(Journal.JournalConsumer consumer)
consumer - a JournalConsumerpublic java.lang.String toString()
| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||