planet.test.bad
Class SimNetTest

java.lang.Object
  extended byplanet.test.bad.SimNetTest

public class SimNetTest
extends java.lang.Object

This test use the event file "test_join1000d.txt" in the "bin" directory. Shows the time elapsed for generating the network and its stabilization. Finally, prints all nodes with theirs predecessors, finger table, and successor lists.

Author:
Ruben Mondejar, Jordi Pujol

Constructor Summary
SimNetTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          Initialize the planet.util.Properties with ..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimNetTest

public SimNetTest()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Initialize the planet.util.Properties with ../conf/factories_zero.properties, ../conf/sim.properties, ../conf/chord.properties files, with a test_join1000d.txt for event file. Then, it initialize the GenericFactory and starts the stabilization process.

Parameters:
args - Nothing.
Throws:
java.lang.Exception