01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.objectserver.persistence.sleepycat;
06:
07: import com.sleepycat.je.DatabaseException;
08: import com.sleepycat.je.OperationStatus;
09: import com.tc.object.ObjectID;
10: import com.tc.objectserver.persistence.api.PersistenceTransaction;
11: import com.tc.util.SyncObjectIdSet;
12:
13: import java.util.Set;
14:
15: public interface OidBitsArrayMapManager {
16:
17: public Runnable createObjectIdReader(SyncObjectIdSet set);
18:
19: public OperationStatus oidPut(PersistenceTransaction tx,
20: ObjectID objectId) throws DatabaseException;
21:
22: public OperationStatus oidPutAll(PersistenceTransaction tx,
23: Set<ObjectID> oidSet) throws TCDatabaseException;
24:
25: public OperationStatus oidDeleteAll(PersistenceTransaction tx,
26: Set<ObjectID> oidSet) throws TCDatabaseException;
27: }
|