Пример #1
0
 /** @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);
   }
 }
Пример #2
0
 /** @see LogEntry#getTransactionId */
 public long getTransactionId() {
   return item.getTransactionId();
 }
Пример #3
0
 /** @see LogEntry#isTransactional */
 public boolean isTransactional() {
   return item.logEntryIsTransactional();
 }
Пример #4
0
 /** @see LogEntry#dumpEntry */
 public StringBuffer dumpEntry(StringBuffer sb, boolean verbose) {
   item.dumpLog(sb, verbose);
   return sb;
 }