1 24 package org.objectweb.jalisto.se.api.physical; 25 26 27 import org.objectweb.jalisto.se.impl.InFileAddress; 28 import org.objectweb.jalisto.se.api.JalistoProperties; 29 import org.objectweb.jalisto.se.api.internal.JalistoObject; 30 31 import java.util.Collection ; 32 33 public interface PluggablePhysicalFileAccess { 34 void init(JalistoProperties properties); 35 36 boolean isNewBase(); 37 38 void reorganize(); 39 40 void deleteFileObject(InFileAddress ifa); 41 42 void insertFileObject(InFileAddress ifa, JalistoObject fo); 43 44 JalistoObject readFileObjectAt(InFileAddress ifa); 45 46 void updateFileObject(InFileAddress ifa, JalistoObject fo); 47 48 void startCommit(); 49 50 void commit(); 51 52 void rollback(); 53 54 void open(); 55 56 void close(); 57 58 Collection getKeysStartingWith(String filter); 59 } 60 | Popular Tags |