fr.inria.peerunit.btreeStrategy
Interface TreeStrategy

All Known Implementing Classes:
ConcreteBtreeStrategy

public interface TreeStrategy

The classes that implement a concrete strategy should implement this The context class uses this to call the concrete strategy

Author:
Veronique Pelleau, Jeremy Masson, Aboubakar Koïta

Method Summary
 void buildTree()
           
 void cleanUp()
           
 int getNodesSize()
           
 int getRegistered()
           
 int register(Tester t)
           
 void setCommunication()
           
 void startRoot()
           
 void waitForTesterRegistration()
          Blocks current thread until all expected testers have registered.
 

Method Detail

buildTree

void buildTree()

getNodesSize

int getNodesSize()

register

int register(Tester t)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCommunication

void setCommunication()

getRegistered

int getRegistered()

waitForTesterRegistration

void waitForTesterRegistration()
                               throws java.lang.InterruptedException
Blocks current thread until all expected testers have registered.

Throws:
java.lang.InterruptedException

startRoot

void startRoot()
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

cleanUp

void cleanUp()


Copyright © 2010. All Rights Reserved.