|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inria.peerunit.base.AbstractTester
public abstract class AbstractTester
| Field Summary | |
|---|---|
protected TesterUtil |
defaults
|
protected GlobalVariables |
globals
|
protected int |
id
|
| Constructor Summary | |
|---|---|
AbstractTester()
No arguments constructor. |
|
AbstractTester(GlobalVariables gv)
|
|
| 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 |
int |
getId()
Returns this tester's id |
int |
getPeerName()
|
protected GlobalVariables |
globalTable()
|
protected void |
initializeLogger()
|
void |
put(java.lang.Integer key,
java.lang.Object object)
Allow to stock global variables who will accessed by all others participants. |
void |
setId(int i)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fr.inria.peerunit.Tester |
|---|
execute, kill, setCoordinator, start |
| Field Detail |
|---|
protected int id
protected transient GlobalVariables globals
protected transient TesterUtil defaults
| Constructor Detail |
|---|
public AbstractTester()
public AbstractTester(GlobalVariables gv)
| Method Detail |
|---|
public int getId()
getId in interface Testerpublic void setId(int i)
public int getPeerName()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public void put(java.lang.Integer key,
java.lang.Object object)
throws java.rmi.RemoteException
StorageTester
put in interface StorageTesterkey - the key of objectobject - the variable to stock
- Throws:
java.rmi.RemoteException
public java.util.Map<java.lang.Integer,java.lang.Object> getCollection()
throws java.rmi.RemoteException
StorageTester
getCollection in interface StorageTesterjava.rmi.RemoteException - because the method is distant
public java.lang.Object get(java.lang.Integer key)
throws java.rmi.RemoteException
StorageTester
get in interface StorageTesterkey - a key
java.rmi.RemoteException
public boolean containsKey(java.lang.Integer key)
throws java.rmi.RemoteException
StorageTester
containsKey in interface StorageTesterkey - a key
java.rmi.RemoteException - because the method is distant
public void clear()
throws java.rmi.RemoteException
StorageTester
clear in interface StorageTesterjava.rmi.RemoteExceptionprotected final GlobalVariables globalTable()
protected void initializeLogger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||