fr.inria.peerunit
Interface GlobalVariables

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

public interface GlobalVariables
extends java.rmi.Remote

Since:
1.0
Version:
1.0
Author:
Veronique Pelleau

Method Summary
 void clearCollection()
          Clears all global variables for this object
 boolean containsKey(java.lang.Integer key)
          Returns true if the boostrapper or the coordinator contains the specified variable.
 java.lang.Object get(java.lang.Integer key)
          Used to retrieve testing global variables
 java.util.Map<java.lang.Integer,java.lang.Object> getCollection()
          Used to retrieve all the variables of the testing global variables
 void put(java.lang.Integer key, java.lang.Object object)
          Used to cache testing global variables
 

Method Detail

put

void put(java.lang.Integer key,
         java.lang.Object object)
         throws java.rmi.RemoteException
Used to cache testing global variables

Parameters:
key -
object -
Throws:
java.rmi.RemoteException

get

java.lang.Object get(java.lang.Integer key)
                     throws java.rmi.RemoteException
Used to retrieve testing global variables

Parameters:
key -
Returns:
Object
Throws:
java.rmi.RemoteException

getCollection

java.util.Map<java.lang.Integer,java.lang.Object> getCollection()
                                                                throws java.rmi.RemoteException
Used to retrieve all the variables of the testing global variables

Returns:
A map containing all registered variables for the boostrapper or the coordinator
Throws:
java.rmi.RemoteException

containsKey

boolean containsKey(java.lang.Integer key)
                    throws java.rmi.RemoteException
Returns true if the boostrapper or the coordinator contains the specified variable.

Parameters:
key - Value whose presence is to be tested
Returns:
true if the boostrapper or the coordinator contains the specified variable.
Throws:
java.rmi.RemoteException

clearCollection

void clearCollection()
                     throws java.rmi.RemoteException
Clears all global variables for this object

Throws:
java.rmi.RemoteException


Copyright © 2010. All Rights Reserved.