com.caucho.message.journal
Class JournalResult

java.lang.Object
  extended by com.caucho.message.journal.JournalResult

public final class JournalResult
extends java.lang.Object

Interface for the transaction log. MQueueJournal is not thread safe. It is intended to be used by a single thread.


Constructor Summary
JournalResult()
           
 
Method Summary
 long getBlockAddr1()
           
 long getBlockAddr2()
           
 BlockStore getBlockStore()
           
 int getLength1()
           
 int getLength2()
           
 int getOffset1()
           
 int getOffset2()
           
 void init1(BlockStore blockStore, long blockAddr, int offset, int len)
           
 void init2(long blockAddr, int offset, int len)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JournalResult

public JournalResult()
Method Detail

init1

public final void init1(BlockStore blockStore,
                        long blockAddr,
                        int offset,
                        int len)

init2

public final void init2(long blockAddr,
                        int offset,
                        int len)

getBlockStore

public final BlockStore getBlockStore()

getBlockAddr1

public final long getBlockAddr1()

getOffset1

public final int getOffset1()

getLength1

public final int getLength1()

getBlockAddr2

public final long getBlockAddr2()

getOffset2

public final int getOffset2()

getLength2

public final int getLength2()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object