All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class replica.PassiveReplicationInstaller

java.lang.Object
   |
   +----replica.ReplicaInstaller
           |
           +----replica.PassiveReplicationInstaller

public class PassiveReplicationInstaller
extends ReplicaInstaller
This class is only important if you want to add your own replication strategy. It is the Install-Object for the passive replication.

Version:
1.0
Author:
Markus Jäger
See Also:
PassiveReplication

Constructor Index

 o PassiveReplicationInstaller(RemoteObjectReference, PassiveReplication, PassiveReplication, Object, boolean)
Construct an PassiveReplicationInstaller.

Method Index

 o installReplica()
This method is used to install the replica.

Constructors

 o PassiveReplicationInstaller
 public PassiveReplicationInstaller(RemoteObjectReference newObjectID,
                                    PassiveReplication newProbPrimary,
                                    PassiveReplication newProbSnooper,
                                    Object obj,
                                    boolean newMode)
Construct an PassiveReplicationInstaller.

Parameters:
newObjectID - Unique ID of the replicated object.
newProbPrimary - The probable primary of the replicated object.
newProbSnooper - The probable snooper of the replicated object.
obj - The replicated object.
newMode - The update mode

Methods

 o installReplica
 public Object installReplica() throws IOException
This method is used to install the replica.

Returns:
Installed replica
Overrides:
installReplica in class ReplicaInstaller

All Packages  Class Hierarchy  This Package  Previous  Next  Index