bamboo.dht
Class StorageTree

java.lang.Object
  extended by bamboo.dht.StorageTree

public class StorageTree
extends Object

Tree to keep track of whether storage is less than capacity.

Version:
$Id: StorageTree.java,v 1.4 2004/07/16 18:38:47 srhea Exp $
Author:
Sean C. Rhea

Nested Class Summary
 class StorageTree.Node
           
 
Field Summary
 int branching
           
 long range
           
 long rate
           
 StorageTree.Node root
           
 
Constructor Summary
StorageTree(long low, long high, long rate)
           
 
Method Summary
static void main(String[] args)
           
 void shift_time(long new_low)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rate

public long rate

range

public long range

branching

public int branching

root

public StorageTree.Node root
Constructor Detail

StorageTree

public StorageTree(long low,
                   long high,
                   long rate)
Method Detail

shift_time

public void shift_time(long new_low)

main

public static void main(String[] args)