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
-
PassiveReplicationInstaller(RemoteObjectReference, PassiveReplication, PassiveReplication, Object, boolean)
- Construct an PassiveReplicationInstaller.
-
installReplica()
- This method is used to install the replica.
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
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