[Mulgara-svn] r1283 - trunk/src/jar/store-xa/java/org/mulgara/store/xa
pag at mulgara.org
pag at mulgara.org
Tue Sep 30 05:59:35 UTC 2008
Author: pag
Date: 2008-09-29 22:59:34 -0700 (Mon, 29 Sep 2008)
New Revision: 1283
Modified:
trunk/src/jar/store-xa/java/org/mulgara/store/xa/XANodePool.java
Log:
Added the getNodeMapper mechanism to the interface, matching the getRestoreMapper from BackupRestoreSession
Modified: trunk/src/jar/store-xa/java/org/mulgara/store/xa/XANodePool.java
===================================================================
--- trunk/src/jar/store-xa/java/org/mulgara/store/xa/XANodePool.java 2008-09-30 05:58:16 UTC (rev 1282)
+++ trunk/src/jar/store-xa/java/org/mulgara/store/xa/XANodePool.java 2008-09-30 05:59:34 UTC (rev 1283)
@@ -29,6 +29,7 @@
import org.mulgara.store.StoreException;
import org.mulgara.store.nodepool.*;
+import org.mulgara.util.LongMapper;
/**
* Interface for transactional NodePools.
@@ -83,4 +84,10 @@
*/
public void delete() throws StoreException;
+ /**
+ * Creates a mapper for mapping nodes to other nodes controlled by this pool.
+ * @return A new LongMapper relevant the number space of gNodes this pool uses.
+ * @throws Exception An implementation specific error.
+ */
+ public LongMapper getNodeMapper() throws Exception;
}
More information about the Mulgara-svn
mailing list