1 5 package org.prevayler; 6 7 import java.io.IOException ; 8 9 10 14 public interface Prevayler { 15 16 18 public Object prevalentSystem(); 19 20 22 public Clock clock(); 23 24 28 public void execute(Transaction transaction); 29 30 35 public Object execute(Query sensitiveQuery) throws Exception ; 36 37 43 public Object execute(TransactionWithQuery transactionWithQuery) throws Exception ; 44 45 50 public void takeSnapshot() throws IOException ; 51 52 55 public void close() throws IOException ; 56 57 } 58 | Popular Tags |