|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationConflictHandler
will be called by a ReplicationProcess
upon
replication conflicts. Conflicts occur whenever
ReplicationProcess.replicate(Object)
is called with an object that
was modified in both ObjectContainers since the last replication run between
the two.
Method Summary | |
---|---|
java.lang.Object |
resolveConflict(ReplicationProcess replicationProcess,
java.lang.Object a,
java.lang.Object b)
Deprecated. the callback method to be implemented to resolve a conflict. |
Method Detail |
---|
java.lang.Object resolveConflict(ReplicationProcess replicationProcess, java.lang.Object a, java.lang.Object b)
replicationProcess
- the ReplicationProcess
for which this
ReplicationConflictHandler is registereda
- the object modified in the peerA ObjectContainerb
- the object modified in the peerB ObjectContainer
ReplicationProcess.setDirection(ObjectContainer, ObjectContainer)
no action will be taken.ReplicationProcess.peerA()
,
ReplicationProcess.peerB()
|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |