fr.inria.peerunit.btreeStrategy
Class ConcreteBtreeStrategy
java.lang.Object
fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
- All Implemented Interfaces:
- TreeStrategy
public class ConcreteBtreeStrategy
- extends java.lang.Object
- implements TreeStrategy
- Author:
- Veronique Pelleau, Aboubakar Koita
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcreteBtreeStrategy
public ConcreteBtreeStrategy(TesterUtil tu)
register
public int register(Tester tester)
throws java.rmi.RemoteException
- Specified by:
register in interface TreeStrategy
- Parameters:
tester -
- Returns:
-
- Throws:
java.rmi.RemoteException
buildTree
public void buildTree()
- Specified by:
buildTree in interface TreeStrategy
getNodesSize
public int getNodesSize()
- Specified by:
getNodesSize in interface TreeStrategy
setCommunication
public void setCommunication()
- Specified by:
setCommunication in interface TreeStrategy
getRegistered
public int getRegistered()
- Specified by:
getRegistered in interface TreeStrategy
waitForTesterRegistration
public void waitForTesterRegistration()
throws java.lang.InterruptedException
- Waits for all expected testers to registerMethods.
- Specified by:
waitForTesterRegistration in interface TreeStrategy
- Throws:
java.lang.InterruptedException
startRoot
public void startRoot()
throws java.rmi.RemoteException
- Specified by:
startRoot in interface TreeStrategy
- Throws:
java.rmi.RemoteException
cleanUp
public void cleanUp()
- Specified by:
cleanUp in interface TreeStrategy
Copyright © 2010. All Rights Reserved.