db4o

ExtObjectContainer.replicateTo Method 

starts replication to another com.db4o.ObjectContainer .

An com.db4o.ObjectContainer can only be involved in a replication process with one other com.db4o.ObjectContainer at the same time.

The returned com.db4o.ext.Db4oReplication interface provides methods to commit and to cancel the replication process.

It also allows to register a conflicthandler, in case objects have been modified in both ObjectContainers, since the two ObjectContainers were last replicated with eachother.

[Visual Basic]
Function replicateTo( _ 
   ByVal destination As ObjectContainer _ 
) As Db4oReplication
[C#]
Db4oReplication replicateTo(
   ObjectContainer destination
);
[C++]
Db4oReplication* replicateTo(
   ObjectContainer* destination
);
[JScript]
function replicateTo(
   ObjectContainer destination
): Db4oReplication;

Parameters

destination
the com.db4o.ObjectContainer to replicate to.

Return Value

the com.db4o.ext.Db4oReplication interface for this replication process.

See Also

ExtObjectContainer Interface | com.db4o.ext Namespace