1 24 25 package com.mckoi.database; 26 27 import com.mckoi.store.Store; 28 import java.io.IOException ; 29 30 42 43 interface StoreSystem { 44 45 49 boolean storeExists(String name); 50 51 61 Store createStore(String name); 62 63 73 Store openStore(String name); 74 75 80 boolean closeStore(Store store); 81 82 89 boolean deleteStore(Store store); 90 91 106 void setCheckPoint(); 107 108 109 111 117 void lock(String lock_name) throws IOException ; 118 119 123 void unlock(String lock_name) throws IOException ; 124 125 } 126 127 | Popular Tags |