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.bind.tuple.IntegerBinding; 15 import com.sleepycat.je.DatabaseEntry; 16 17 20 21 public class NonTxnalEntry extends LogEntryInfo { 22 NonTxnalEntry(long lsn, 23 int key, 24 int data) { 25 super(lsn, key, data); 26 } 27 28 33 public void updateExpectedSet(Set useExpected, Map newUncommittedRecords, Map deletedUncommittedRecords) { 34 DatabaseEntry keyEntry = new DatabaseEntry(); 35 DatabaseEntry dataEntry = new DatabaseEntry(); 36 37 IntegerBinding.intToEntry(key, keyEntry); 38 IntegerBinding.intToEntry(data, dataEntry); 39 40 useExpected.add(new TestData(keyEntry, dataEntry)); 41 } 42 } 43 | Popular Tags |