1 4 package com.tc.test.transactions; 5 6 import com.tc.util.TCAssertionError; 7 8 32 public interface TransactionalObject { 33 34 public static interface Context { 35 } 37 38 Context startWrite(Object value); 39 40 Context startWrite(Object value, long now); 41 42 void endWrite(Context rawWrite); 43 44 void endWrite(Context rawWrite, long now); 45 46 Context startRead(); 47 48 Context startRead(long now); 49 50 void endRead(Context rawRead, Object result); 51 52 void endRead(Context rawRead, Object result, long now); 53 54 } | Popular Tags |