public class OVersionRecordConflictStrategy extends Object implements ORecordConflictStrategy
Constructor and Description |
---|
OVersionRecordConflictStrategy() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkVersions(ORecordId rid,
int iRecordVersion,
int iDatabaseVersion) |
String |
getName() |
byte[] |
onUpdate(OStorage storage,
byte iRecordType,
ORecordId rid,
int iRecordVersion,
byte[] iRecordContent,
AtomicInteger iDatabaseVersion) |
public static final String NAME
public byte[] onUpdate(OStorage storage, byte iRecordType, ORecordId rid, int iRecordVersion, byte[] iRecordContent, AtomicInteger iDatabaseVersion)
onUpdate
in interface ORecordConflictStrategy
public String getName()
getName
in interface ORecordConflictStrategy
protected void checkVersions(ORecordId rid, int iRecordVersion, int iDatabaseVersion)
Copyright © 2009–2020 OrientDB. All rights reserved.