| 
 | 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.AbstractJournalRM.JournalImpl
com.tangosol.io.journal.AbstractJournalRM.JournalImpl
protected class AbstractJournalRM.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 | |
|---|---|
| protected | AbstractJournalRM.JournalImpl() | 
| 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. | 
| protected  long | writeOverflow(Binary bin)Handle the case in which the write overflows the capacity of the journal. | 
| Constructor Detail | 
|---|
protected AbstractJournalRM.JournalImpl()
| 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()
protected long writeOverflow(Binary bin)
bin - the Binary to writejava.lang.IllegalStateException - if nothing can be done to store the data| 
 | 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 | |||||||