
public class OConflictResolverDatabaseRepairer extends Object implements ODistributedDatabaseRepairer
| Constructor and Description |
|---|
OConflictResolverDatabaseRepairer(ODistributedServerManager manager,
String databaseName) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRepairRecord(com.orientechnologies.orient.core.id.ORecordId rid)
Cancel the repair against a record because the update succeed.
|
void |
enqueueRepairCluster(int clusterId)
Enqueues the request to repair a cluster.
|
void |
enqueueRepairRecord(com.orientechnologies.orient.core.id.ORecordId rid)
Adds the record to repair int the map of records and cluster.
|
long |
getRecordProcessed() |
long |
getTotalTimeProcessing() |
void |
repairRecord(com.orientechnologies.orient.core.id.ORecordId rid) |
void |
shutdown() |
public OConflictResolverDatabaseRepairer(ODistributedServerManager manager, String databaseName)
public void enqueueRepairRecord(com.orientechnologies.orient.core.id.ORecordId rid)
enqueueRepairRecord in interface ODistributedDatabaseRepairerrid - RecordId to repairpublic void cancelRepairRecord(com.orientechnologies.orient.core.id.ORecordId rid)
cancelRepairRecord in interface ODistributedDatabaseRepairerrid - RecordId to remove from repairpublic void enqueueRepairCluster(int clusterId)
enqueueRepairCluster in interface ODistributedDatabaseRepairerclusterId - Broken cluster id to start repairingpublic void repairRecord(com.orientechnologies.orient.core.id.ORecordId rid)
repairRecord in interface ODistributedDatabaseRepairerpublic long getRecordProcessed()
getRecordProcessed in interface ODistributedDatabaseRepairerpublic long getTotalTimeProcessing()
getTotalTimeProcessing in interface ODistributedDatabaseRepairerpublic void shutdown()
shutdown in interface ODistributedDatabaseRepairerCopyright © 2009–2017 OrientDB. All rights reserved.