/** @see LogEntry#readEntry */ public void readEntry( ByteBuffer entryBuffer, int entrySize, byte entryTypeVersion, boolean readFullItem) throws DatabaseException { try { item = (LogReadable) logClass.newInstance(); item.readFromLog(entryBuffer, entryTypeVersion); } catch (IllegalAccessException e) { throw new DatabaseException(e); } catch (InstantiationException e) { throw new DatabaseException(e); } }
/** @see LogEntry#getTransactionId */ public long getTransactionId() { return item.getTransactionId(); }
/** @see LogEntry#isTransactional */ public boolean isTransactional() { return item.logEntryIsTransactional(); }
/** @see LogEntry#dumpEntry */ public StringBuffer dumpEntry(StringBuffer sb, boolean verbose) { item.dumpLog(sb, verbose); return sb; }