fr.inria.peerunit.btreeStrategy
Class ConcreteBtreeStrategy

java.lang.Object
  extended by fr.inria.peerunit.btreeStrategy.ConcreteBtreeStrategy
All Implemented Interfaces:
TreeStrategy

public class ConcreteBtreeStrategy
extends java.lang.Object
implements TreeStrategy

Author:
Veronique Pelleau, Aboubakar Koita

Constructor Summary
ConcreteBtreeStrategy(TesterUtil tu)
           
 
Method Summary
 void buildTree()
           
 void cleanUp()
           
 int getNodesSize()
           
 int getRegistered()
           
 int register(Tester tester)
           
 void setCommunication()
           
 void startRoot()
           
 void waitForTesterRegistration()
          Waits for all expected testers to registerMethods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcreteBtreeStrategy

public ConcreteBtreeStrategy(TesterUtil tu)
Method Detail

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.