[Mulgara-svn] r1279 - trunk/src/jar/store-nodepool-xa/java/org/mulgara/store/nodepool/xa
pag at mulgara.org
pag at mulgara.org
Tue Sep 30 05:53:37 UTC 2008
Author: pag
Date: 2008-09-29 22:53:36 -0700 (Mon, 29 Sep 2008)
New Revision: 1279
Modified:
trunk/src/jar/store-nodepool-xa/java/org/mulgara/store/nodepool/xa/XANodePoolImpl.java
Log:
Added the getNodeMapper method from the BackupRestoreSession interface
Modified: trunk/src/jar/store-nodepool-xa/java/org/mulgara/store/nodepool/xa/XANodePoolImpl.java
===================================================================
--- trunk/src/jar/store-nodepool-xa/java/org/mulgara/store/nodepool/xa/XANodePoolImpl.java 2008-09-30 05:53:04 UTC (rev 1278)
+++ trunk/src/jar/store-nodepool-xa/java/org/mulgara/store/nodepool/xa/XANodePoolImpl.java 2008-09-30 05:53:36 UTC (rev 1279)
@@ -39,6 +39,8 @@
import org.mulgara.store.nodepool.*;
import org.mulgara.store.xa.*;
import org.mulgara.util.Constants;
+import org.mulgara.util.IntFile;
+import org.mulgara.util.LongMapper;
/**
* A NodePool implementation which supports data integrity.
@@ -792,6 +794,11 @@
}
+ /** @see org.mulgara.store.xa.XANodePool#getNodeMapper() */
+ public LongMapper getNodeMapper() throws Exception {
+ return IntFile.newTempIntFile("n2n");
+ }
+
/**
* METHOD TO DO
*
@@ -962,7 +969,13 @@
public int getPhaseNumber() {
return phaseNumber;
}
+
+
+ public LongMapper getNodeMapper() throws Exception {
+ throw new UnsupportedOperationException("Attempting to map newly allocated nodes of ReadOnlyNodePool");
+ }
}
+
}
More information about the Mulgara-svn
mailing list