edu.cmu.mse.vault.repman
Interface IVaultReplicationManager

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
VaultReplicationServer

public interface IVaultReplicationManager
extends java.rmi.Remote

Author:
Soumya

Method Summary
 java.util.List getAccountRefNames()
          Returns a java.util.List of Account references.
 int getCurrentActiveReplicas()
          Returns number of current active replicas
 java.util.List getCustomerRefNames()
          Returns a java.util.List of Customer references.
 java.lang.String getJNDIHostName()
          Returns a host name where the global JNDI server is running.
 int getNumberOfReplicas()
          Returns the number of active replicas
 java.util.List getTransactionRefNames()
          Returns a java.util.List of Transaction references.
 

Method Detail

getJNDIHostName

public java.lang.String getJNDIHostName()
                                 throws java.rmi.RemoteException
Returns a host name where the global JNDI server is running.

Returns:
Throws:
java.rmi.RemoteException

getTransactionRefNames

public java.util.List getTransactionRefNames()
                                      throws java.rmi.RemoteException
Returns a java.util.List of Transaction references. The client must take these values and use them to get actual object from the JNDI server.

Returns:
Throws:
java.rmi.RemoteException

getAccountRefNames

public java.util.List getAccountRefNames()
                                  throws java.rmi.RemoteException
Returns a java.util.List of Account references. The client must take these values and use them to get actual object from the JNDI server.

Returns:
Throws:
java.rmi.RemoteException

getCustomerRefNames

public java.util.List getCustomerRefNames()
                                   throws java.rmi.RemoteException
Returns a java.util.List of Customer references. The client must take these values and use them to get actual object from the JNDI server.

Returns:
Throws:
java.rmi.RemoteException

getNumberOfReplicas

public int getNumberOfReplicas()
                        throws java.rmi.RemoteException
Returns the number of active replicas

Returns:
Throws:
java.rmi.RemoteException

getCurrentActiveReplicas

public int getCurrentActiveReplicas()
                             throws java.rmi.RemoteException
Returns number of current active replicas

Returns:
Throws:
java.rmi.RemoteException