1 8 9 package com.sleepycat.je.recovery.stepwise; 10 11 import java.util.Map ; 12 import java.util.Set ; 13 14 import com.sleepycat.je.utilint.DbLsn; 15 16 23 24 public class LogEntryInfo { 25 private long lsn; 26 int key; 27 int data; 28 29 LogEntryInfo(long lsn, 30 int key, 31 int data) { 32 this.lsn = lsn; 33 this.key = key; 34 this.data = data; 35 } 36 37 45 public void updateExpectedSet(Set expectedSet, Map newUncommittedRecords, Map deletedUncommittedRecords) {} 46 47 public String toString() { 48 StringBuffer sb = new StringBuffer (); 49 sb.append("type=").append(this.getClass().getName()); 50 sb.append("lsn=").append(DbLsn.getNoFormatString(lsn)); 51 sb.append(" key=").append(key); 52 sb.append(" data=").append(data); 53 return sb.toString(); 54 } 55 56 public long getLsn() { 57 return lsn; 58 } 59 } 60 | Popular Tags |