All Packages Class Hierarchy This Package Previous Next Index
Class replica.ActiveReplication
java.lang.Object
|
+----replica.AccessTransmitStrategy
|
+----replica.ReplicationStrategy
|
+----replica.ActiveReplication
- public class ActiveReplication
- extends ReplicationStrategy
This class is the Strategy-Object for active replicated objects.
- Version:
- 1.0
- Author:
- Markus Jäger
- See Also:
- AccessControlObject
-
ActiveReplication()
- Construct an ActiveReplication object.
-
acpuireLock(Object, EventDescObjectLock)
- This method is only important if you want to add your own replication strategy.
-
callMethod(Object, EventDescMethodCall)
- This method is only important if you want to add your own replication strategy.
-
doFinalInit(AccessControlObject, Object, UniqueID)
- This method is only important if you want to add your own replication strategy.
-
getObjectID()
-
This method is only important if you want to add your own replication strategy.
-
newObject(Object, EventDescNewObject)
- This method is only important if you want to add your own replication strategy.
-
outCall(Object, EventDescOutCall)
- This method is only important if you want to add your own replication strategy.
-
registerForMethodCalls()
- This method is only important if you want to add your own replication strategy.
-
registerForObjectCreation()
- This method is only important if you want to add your own replication strategy.
-
registerForObjectLock()
- This method is only important if you want to add your own replication strategy.
-
registerForOutCalls()
- This method is only important if you want to add your own replication strategy.
-
releaseLock(Object, EventDescObjectLock)
- This method is only important if you want to add your own replication strategy.
-
transmitObject(ObjectTransmissionControl, Object)
-
This method is only important if you want to add your own replication strategy.
ActiveReplication
public ActiveReplication()
- Construct an ActiveReplication object.
doFinalInit
protected void doFinalInit(AccessControlObject newControl,
Object obj,
UniqueID newID)
- This method is only important if you want to add your own replication strategy.
- Overrides:
- doFinalInit in class AccessTransmitStrategy
getObjectID
protected RemoteObjectReference getObjectID()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- getObjectID in class AccessTransmitStrategy
registerForObjectCreation
protected boolean registerForObjectCreation()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForObjectCreation in class AccessTransmitStrategy
registerForMethodCalls
protected boolean registerForMethodCalls()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForMethodCalls in class AccessTransmitStrategy
registerForOutCalls
protected boolean registerForOutCalls()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForOutCalls in class AccessTransmitStrategy
registerForObjectLock
protected boolean registerForObjectLock()
- This method is only important if you want to add your own replication strategy.
- Overrides:
- registerForObjectLock in class AccessTransmitStrategy
transmitObject
protected void transmitObject(ObjectTransmissionControl tCont,
Object obj) throws IOException
- This method is only important if you want to add your own replication strategy.
- Overrides:
- transmitObject in class AccessTransmitStrategy
callMethod
protected Object callMethod(Object o,
EventDescMethodCall event) throws Throwable
- This method is only important if you want to add your own replication strategy.
- Throws: Throwable
- Exception of the invocation
- Overrides:
- callMethod in class AccessTransmitStrategy
acpuireLock
protected void acpuireLock(Object o,
EventDescObjectLock event)
- This method is only important if you want to add your own replication strategy.
- Overrides:
- acpuireLock in class AccessTransmitStrategy
releaseLock
protected void releaseLock(Object o,
EventDescObjectLock event)
- This method is only important if you want to add your own replication strategy.
- Overrides:
- releaseLock in class AccessTransmitStrategy
outCall
protected Object outCall(Object o,
EventDescOutCall event) throws Throwable
- This method is only important if you want to add your own replication strategy.
- Throws: Throwable
- The exception of the invocation.
- Overrides:
- outCall in class AccessTransmitStrategy
newObject
protected Object newObject(Object o,
EventDescNewObject event) throws Throwable
- This method is only important if you want to add your own replication strategy.
- Throws: Throwable
- Thrown if the new object could not be created.
- Overrides:
- newObject in class AccessTransmitStrategy
All Packages Class Hierarchy This Package Previous Next Index