1 8 9 package com.sleepycat.je.log.entry; 10 11 import java.nio.ByteBuffer ; 12 13 import com.sleepycat.je.DatabaseException; 14 15 19 public interface LogEntry extends Cloneable { 20 21 24 void readEntry(ByteBuffer entryBuffer, int entrySize, 25 byte entryTypeVersion, boolean readFullItem) 26 throws DatabaseException; 27 28 31 StringBuffer dumpEntry(StringBuffer sb, boolean verbose); 32 33 36 Object getMainItem(); 37 38 41 public Object clone() throws CloneNotSupportedException ; 42 43 46 public boolean isTransactional(); 47 48 52 public long getTransactionId(); 53 } 54 | Popular Tags |