|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationProcess
db4o replication interface.
ExtObjectContainer.replicationBegin(ObjectContainer, ReplicationConflictHandler)
Method Summary | |
---|---|
void |
checkConflict(java.lang.Object obj)
Deprecated. checks if an object has been modified in both ObjectContainers involved in the replication process since the last time the two ObjectContainers were replicated. |
void |
commit()
Deprecated. commits the replication task to both involved ObjectContainers. |
ObjectContainer |
peerA()
Deprecated. returns the "peerA" ObjectContainer involved in this ReplicationProcess. |
ObjectContainer |
peerB()
Deprecated. returns the "peerB" ObjectContainer involved in this ReplicationProcess. |
void |
replicate(java.lang.Object obj)
Deprecated. replicates an object. |
void |
rollback()
Deprecated. ends a replication task without committing any changes. |
void |
setDirection(ObjectContainer relicateFrom,
ObjectContainer replicateTo)
Deprecated. modifies the replication policy, what to do on a call to replicate(Object) . |
void |
whereModified(Query query)
Deprecated. adds a constraint to the passed Query to query only for objects that were modified since the last replication process between the two ObjectContainers involved in this replication process. |
Method Detail |
---|
void checkConflict(java.lang.Object obj)
obj
- - the object to check for a conflict.void commit()
ExtObjectContainer.version()
on both
ObjectContainers to be equal
to the higher version number among the two. A record with
information about this replication task, including the
synchronized version number is stored to both ObjectContainers
to allow future incremental replication.
ObjectContainer peerA()
ObjectContainer peerB()
void replicate(java.lang.Object obj)
obj
- void rollback()
void setDirection(ObjectContainer relicateFrom, ObjectContainer replicateTo)
replicate(Object)
.
relicateFrom
- the ObjectContainer to replicate fromreplicateTo
- the ObjectContainer to replicate tovoid whereModified(Query query)
query
- the Query to be constrained
|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |