diff options
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();
}
|