Skip navigation links 
 
com.tangosol.io.journal
Class RamJournalRM.JournalImpl
java.lang.Object
   com.tangosol.io.journal.AbstractJournalRM.JournalImpl
com.tangosol.io.journal.AbstractJournalRM.JournalImpl
       com.tangosol.io.journal.RamJournalRM.JournalImpl
com.tangosol.io.journal.RamJournalRM.JournalImpl
- All Implemented Interfaces:
- com.oracle.common.base.Disposable, Journal
- Enclosing class:
- RamJournalRM
- 
protected class RamJournalRM.JournalImpl
 
- extends AbstractJournalRM.JournalImpl
A Journal implementation managed by this Journal Resource Manager.
 
 
  
 
  
 
| Method Summary | 
|  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  long | writeOverflow(Binary bin)Handle the case in which the write overflows the capacity of the journal.
 | 
 
 
 
RamJournalRM.JournalImpl
protected RamJournalRM.JournalImpl()
read
public 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.
- 
- Specified by:
- readin interface- Journal
- Overrides:
- readin class- AbstractJournalRM.JournalImpl
 
- 
- Parameters:
- lTicket- a ticket returned from a previous call to- Journal.write(com.tangosol.util.Binary)
- Returns:
- the Binary value that was previously written
 
release
public int release(long lTicket)
- Notify the Journal that the value corresponding to the specified ticket is no longer needed.
- 
- Specified by:
- releasein interface- Journal
- Overrides:
- releasein class- AbstractJournalRM.JournalImpl
 
- 
- Parameters:
- lTicket- a ticket returned from a previous call to- Journal.write(com.tangosol.util.Binary)
- Returns:
- the number of bytes released
 
writeOverflow
protected long writeOverflow(Binary bin)
- Handle the case in which the write overflows the capacity of the journal.
- 
- Overrides:
- writeOverflowin class- AbstractJournalRM.JournalImpl
 
- 
- Parameters:
- bin- the Binary to write
- Returns:
- a ticket
 
Skip navigation links 
 
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.