bamboo.dht.fssim
Class RandomAlgorithm

java.lang.Object
  extended by bamboo.dht.fssim.Algorithm
      extended by bamboo.dht.fssim.RandomAlgorithm

public class RandomAlgorithm
extends Algorithm


Nested Class Summary
 
Nested classes/interfaces inherited from class bamboo.dht.fssim.Algorithm
Algorithm.PutInfo, Algorithm.PutResultCb
 
Field Summary
protected  Random rand
           
 
Fields inherited from class bamboo.dht.fssim.Algorithm
client_count, instance, pending_puts, period, sim, stop_time, storage_by_client, total_puts
 
Constructor Summary
RandomAlgorithm(long p, long t, long seed)
           
 
Method Summary
 void process_pending_puts(LinkedList puts)
           
 
Methods inherited from class bamboo.dht.fssim.Algorithm
accept_put, all_puts_expired, enqueue_put, print_usage, remove_put, simulation_finished
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rand

protected Random rand
Constructor Detail

RandomAlgorithm

public RandomAlgorithm(long p,
                       long t,
                       long seed)
Method Detail

process_pending_puts

public void process_pending_puts(LinkedList puts)
Specified by:
process_pending_puts in class Algorithm