
public interface ODistributedConflictResolver
| Modifier and Type | Interface and Description |
|---|---|
static class |
ODistributedConflictResolver.OConflictResult |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Name to register in the factory.
|
ODistributedConflictResolver.OConflictResult |
onConflict(String databaseName,
String clusterName,
com.orientechnologies.orient.core.id.ORecordId rid,
ODistributedServerManager dManager,
Map<Object,List<String>> groupedServerValues,
com.orientechnologies.orient.core.record.impl.ODocument config)
Called on distributed conflict.
|
ODistributedConflictResolver.OConflictResult onConflict(String databaseName, String clusterName, com.orientechnologies.orient.core.id.ORecordId rid, ODistributedServerManager dManager, Map<Object,List<String>> groupedServerValues, com.orientechnologies.orient.core.record.impl.ODocument config)
databaseName - clusterName - rid - RecordID of the record in conflictdManager - Current distributed manager instancegroupedServerValues - All the values from the servers grouped by value. The key could also be an exception in case the record was not
found. @return The winning objectconfig - The ODocument representing the configuration of the conflict resolver. it's optional, null means no configurationString getName()
Copyright © 2009–2016 OrientDB. All rights reserved.