KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > persistence > api > TransactionPersistor


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.objectserver.persistence.api;
5
6 import com.tc.objectserver.gtx.GlobalTransactionDescriptor;
7
8 import java.util.Collection JavaDoc;
9
10 public interface TransactionPersistor {
11   
12   public Collection JavaDoc loadAllGlobalTransactionDescriptors();
13     
14   public void saveGlobalTransactionDescriptor(PersistenceTransaction tx, GlobalTransactionDescriptor gtx);
15
16   public void deleteAllByServerTransactionID(PersistenceTransaction tx, Collection JavaDoc toDelete);
17 }
18
Popular Tags