|
db4o 6.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
public interface ReplicationConflictHandler
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 6.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |