|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StorageTester
This interface contains some methods for the stocking and the retrieval of testing global variables who can't be known before runtime.
fr.inria.peerunit.VolatileTester,
TesterImpl,
Tester| Method Summary | |
|---|---|
void |
clear()
Used to clear the Collection of testing global variables |
boolean |
containsKey(java.lang.Integer key)
Returns true if the key key can be map in the global variables cache, return false else. |
java.lang.Object |
get(java.lang.Integer key)
Used to retrieve a testing global variable. |
java.util.Map<java.lang.Integer,java.lang.Object> |
getCollection()
Used to retrieve all the peer |
void |
put(java.lang.Integer key,
java.lang.Object object)
Allow to stock global variables who will accessed by all others participants. |
| Method Detail |
|---|
void put(java.lang.Integer key,
java.lang.Object object)
throws java.rmi.RemoteException
key - the key of objectobject - the variable to stock
- Throws:
java.rmi.RemoteException
java.util.Map<java.lang.Integer,java.lang.Object> getCollection()
throws java.rmi.RemoteException
java.rmi.RemoteException - because the method is distant
java.lang.Object get(java.lang.Integer key)
throws java.rmi.RemoteException
key - a key
java.rmi.RemoteException
boolean containsKey(java.lang.Integer key)
throws java.rmi.RemoteException
key - a key
java.rmi.RemoteException - because the method is distant
void clear()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||