public class ConflictResolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
ConflictResolver(StoreMergeParameters params) |
Modifier and Type | Method and Description |
---|---|
boolean |
canResolveAttributeConflict(java.lang.String id,
java.lang.String className,
java.lang.String attName,
java.lang.String value1,
java.lang.String value2) |
boolean |
canResolveCreateCreateConflict(java.lang.String id,
java.lang.String className) |
boolean |
canResolveUpdateDeleteConflict(java.lang.String id,
java.lang.String className) |
java.util.List<StorableLogEntry> |
getResolutionOpList(java.lang.String urid,
long time) |
static void |
initLogger() |
java.util.List<StorableLogEntry> |
resolveCreateCreateConflict(java.lang.String id,
java.util.List<StorableLogEntry> store1OpList,
java.util.List<StorableLogEntry> store2OpList) |
java.util.List<StorableLogEntry> |
resolveUpdateDeleteConflict(java.lang.String id,
java.util.List<StorableLogEntry> store1OpList,
java.util.List<StorableLogEntry> store2OpList) |
public ConflictResolver(StoreMergeParameters params)
public static void initLogger()
public boolean canResolveAttributeConflict(java.lang.String id, java.lang.String className, java.lang.String attName, java.lang.String value1, java.lang.String value2)
public boolean canResolveCreateCreateConflict(java.lang.String id, java.lang.String className)
public boolean canResolveUpdateDeleteConflict(java.lang.String id, java.lang.String className)
public java.util.List<StorableLogEntry> resolveUpdateDeleteConflict(java.lang.String id, java.util.List<StorableLogEntry> store1OpList, java.util.List<StorableLogEntry> store2OpList)
public java.util.List<StorableLogEntry> resolveCreateCreateConflict(java.lang.String id, java.util.List<StorableLogEntry> store1OpList, java.util.List<StorableLogEntry> store2OpList)
public java.util.List<StorableLogEntry> getResolutionOpList(java.lang.String urid, long time)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.