diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2006-12-06 20:27:33 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2006-12-06 20:27:33 +0000 |
commit | 9fb03414506c055d3195debb78ad017094fcea97 (patch) | |
tree | cdc2748c7c57de0ca1aaf0a2f44249691933ac91 /src/main/java/com/amazon/carbonado/capability | |
parent | bef06b7d532dc7939836d6c6d9f9a4ad822da618 (diff) |
Added master repository access in resync capability.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/capability')
-rw-r--r-- | src/main/java/com/amazon/carbonado/capability/ResyncCapability.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/capability/ResyncCapability.java b/src/main/java/com/amazon/carbonado/capability/ResyncCapability.java index d3e7c82..502fc5c 100644 --- a/src/main/java/com/amazon/carbonado/capability/ResyncCapability.java +++ b/src/main/java/com/amazon/carbonado/capability/ResyncCapability.java @@ -18,6 +18,7 @@ package com.amazon.carbonado.capability;
+import com.amazon.carbonado.Repository;
import com.amazon.carbonado.RepositoryException;
import com.amazon.carbonado.Storable;
@@ -43,4 +44,10 @@ public interface ResyncCapability extends Capability { String filter,
Object... filterValues)
throws RepositoryException;
+
+ /**
+ * Returns the immediate master Repository, for manual comparison. Direct
+ * updates to the master will likely create inconsistencies.
+ */
+ Repository getMasterRepository();
}
|