01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.persistence.api;
05:
06: import com.tc.objectserver.gtx.GlobalTransactionDescriptor;
07:
08: import java.util.Collection;
09:
10: public interface TransactionPersistor {
11:
12: public Collection loadAllGlobalTransactionDescriptors();
13:
14: public void saveGlobalTransactionDescriptor(
15: PersistenceTransaction tx, GlobalTransactionDescriptor gtx);
16:
17: public void deleteAllGlobalTransactionDescriptors(
18: PersistenceTransaction tx, Collection toDelete);
19:
20: }
|