
public interface ODistributedConflictResolver
| Modifier and Type | Interface and Description |
|---|---|
static class |
ODistributedConflictResolver.OConflictResult |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ODocument config) |
String |
getName()
Name to register in the factory.
|
ODistributedConflictResolver.OConflictResult |
onConflict(String databaseName,
String clusterName,
ORecordId rid,
ODistributedServerManager dManager,
Map<Object,List<String>> groupedServerValues)
Called on distributed conflict.
|
static final Object NOT_FOUND
void configure(ODocument config)
ODistributedConflictResolver.OConflictResult onConflict(String databaseName, String clusterName, ORecordId rid, ODistributedServerManager dManager, Map<Object,List<String>> groupedServerValues)
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 objectString getName()
Copyright © 2009–2025 OrientDB. All rights reserved.