|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.ReplicatedObjectMapping
public class ReplicatedObjectMapping
ReplicatedObjectMapping is used to store information about the replicated objects in the system, along with information about the front end to the active replication manager.
Constructor Summary | |
---|---|
ReplicatedObjectMapping()
Creates a new instance of ReplicatedObjectMapping |
|
ReplicatedObjectMapping(boolean isReplicated,
RemoteObjectReference ror)
Creates a new instance of ReplicatedObjectMapping |
Method Summary | |
---|---|
void |
addReplicatedObject(RemoteObjectReference ror)
Adds a new replicated object. |
java.net.InetAddress |
getFrontEndAddress()
Get the address of where the front of the replication manager is located. |
int |
getFrontEndPort()
Gets the port number of the front end. |
RemoteObjectReference |
getFrontEndROR()
Get the remote object reference for the front end so that it can be located |
java.util.Vector |
getReplicatedObjects()
Gets all of the replicated objects of the front end. |
boolean |
isReplicated()
Returns true if replication is being used. |
void |
removeReplicatedObject(RemoteObjectReference ror)
Removes a specific remote object from the replication manager. |
void |
setFrontEnd(java.net.InetAddress address,
int port)
Sets the front end address |
void |
setFrontEndAddress(java.net.InetAddress frontEndAddress)
Sets the address of the Front end. |
void |
setFrontEndPort(int frontEndPort)
Sets the port number for the front end. |
void |
setReplicated(boolean isReplicated)
Sets if repilication is used. |
void |
setReplicatedObjects(java.util.Vector<RemoteObjectReference> replicateObjects)
Set the replicated objects. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicatedObjectMapping()
public ReplicatedObjectMapping(boolean isReplicated, RemoteObjectReference ror)
isReplicated
- Is the replication being used.ror
- The RemoteObjectReference of the front end.Method Detail |
---|
public RemoteObjectReference getFrontEndROR()
public java.net.InetAddress getFrontEndAddress()
public void setFrontEndAddress(java.net.InetAddress frontEndAddress)
frontEndAddress
- The frontEnd address to set.public int getFrontEndPort()
public void setFrontEndPort(int frontEndPort)
frontEndPort
- The frontEndPort to set.public void setFrontEnd(java.net.InetAddress address, int port)
address
- The IP address of the front end.port
- The port number of the front end.public java.util.Vector getReplicatedObjects()
public void setReplicatedObjects(java.util.Vector<RemoteObjectReference> replicateObjects)
replicateObjects
- The replicateObjects to set.public void addReplicatedObject(RemoteObjectReference ror)
ror
- The remote object reference for a remote object.public void removeReplicatedObject(RemoteObjectReference ror)
ror
- The remote object reference to be removed.public boolean isReplicated()
public void setReplicated(boolean isReplicated)
isReplicated
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |