db4o |

# ReplicationProcess Methods

The methods of the ReplicationProcess interface are listed below. For a complete list of ReplicationProcess interface members, see the ReplicationProcess Members topic.

#### Public Instance Methods

checkConflict | checks if an object has been modified in both ObjectContainers involved in the replication process since the last time the two ObjectContainers were replicated.
commit | commits the replication task to both involved ObjectContainers.
peerA | returns the "peerA" ObjectContainer involved in this ReplicationProcess.
peerB | returns the "peerB" ObjectContainer involved in this ReplicationProcess.
replicate | replicates an object.
rollback | ends a replication task without committing any changes.
setDirection | modifies the replication policy, what to do on a call to replicate . If no direction is set, the replication process will be bidirectional by default.
whereModified | 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.

#### See Also

ReplicationProcess Interface | com.db4o.replication Namespace | replicationBegin