1 24 package org.objectweb.jalisto.se.api.internal; 25 26 import org.objectweb.jalisto.se.impl.InFileAddress; 27 28 import java.util.Collection ; 29 import java.util.Map ; 30 31 public interface InTransactionBaseImage { 32 boolean isWorking(); 33 34 void commit(); 35 36 void rollback(); 37 38 void insertFileObject(InFileAddress ifa, JalistoObject fo); 39 40 JalistoObject readFileObjectAt(InFileAddress ifa); 41 42 void updateFileObject(InFileAddress ifa, JalistoObject fo); 43 44 void deleteFileObject(InFileAddress ifa); 45 46 int getDeletedObjectsSize(); 47 48 int getModifiedObjectsSize(); 49 50 int getNewObjectsSize(); 51 52 Map getReadObjects(); 53 54 boolean isKeepInMemory(); 55 56 void setKeepInMemory(boolean keepInMemory); 57 58 boolean startWorking(); 59 60 void stopWorking(); 61 62 Collection getKeysStartingWith(String filter, boolean withOrder); 63 } 64 | Popular Tags |