com.caucho.message.journal
Interface JournalWriter


public interface JournalWriter

Interface for the transaction log.


Method Summary
 void checkpoint(long blockAddr, int offset, int length)
           
 void write(int code, boolean isInit, boolean isFin, long id, long seq, byte[] buffer, int offset, int length)
           
 

Method Detail

write

void write(int code,
           boolean isInit,
           boolean isFin,
           long id,
           long seq,
           byte[] buffer,
           int offset,
           int length)
           throws java.io.IOException
Throws:
java.io.IOException

checkpoint

void checkpoint(long blockAddr,
                int offset,
                int length)
                throws java.io.IOException
Throws:
java.io.IOException