|
db4o 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
will be passed to the Db4oCallback
registered
in a Db4oReplication
with #setConflictHandler()
in case an object that is replicated was changed in
both ObjectContainer
s
Method Summary | |
ObjectContainer |
destination()
returns the destination ObjectContainer . |
java.lang.Object |
destinationObject()
gets the object that caused the conflict from the destination ObjectContainer . |
ObjectContainer |
source()
returns the source ObjectContainer . |
java.lang.Object |
sourceObject()
gets the object that caused the conflict from the source ObjectContainer . |
void |
useDestination()
instructs the replication process to store the object from the destination ObjectContainer to both ObjectContainers.
|
void |
useSource()
instructs the replication process to store the object from the source ObjectContainer to both ObjectContainers.
|
Method Detail |
public ObjectContainer destination()
ObjectContainer
.
ObjectContainer
public java.lang.Object destinationObject()
ObjectContainer
.
ObjectContainer
.public ObjectContainer source()
ObjectContainer
.
ObjectContainer
public java.lang.Object sourceObject()
ObjectContainer
.
ObjectContainer
.public void useSource()
ObjectContainer
to both ObjectContainers.
Db4oCallback
, replication will ignore the object that
caused the conflict.
public void useDestination()
ObjectContainer
to both ObjectContainers.
Db4oCallback
, replication will ignore the object that
caused the conflict.
|
db4o 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |