planet.test.dht
Class ChordDHT

java.lang.Object
  extended byplanet.generic.commonapi.GenericApp
      extended byplanet.test.dht.ChordDHT

public class ChordDHT
extends GenericApp

Main application that tests to inserts a wide number of key/value pairs at the ring and lookups a concrete existing key.

Version:
1.0
Author:
Carles Pairot , Jordi Pujol

Constructor Summary
ChordDHT()
          Constructor that initialize a network with MAX_NODES, and register over each node an instance of ChordDHTApplication.
 
Method Summary
static void main(java.lang.String[] args)
          Initialize a network with the number of nodes specified by command line argument, and inserts all keys/values existing at file claves.txt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChordDHT

public ChordDHT()
         throws InitializationException
Constructor that initialize a network with MAX_NODES, and register over each node an instance of ChordDHTApplication.

Method Detail

main

public static void main(java.lang.String[] args)
Initialize a network with the number of nodes specified by command line argument, and inserts all keys/values existing at file claves.txt.

Parameters:
args -