bamboo.router
Class RoutingTableTest
java.lang.Object
bamboo.util.StandardStage
bamboo.router.RoutingTableTest
- All Implemented Interfaces:
- EventHandlerIF, SingleThreadedEventHandlerIF
public class RoutingTableTest
- extends StandardStage
- implements SingleThreadedEventHandlerIF
Tests the quality of the routing tables, for use under the simulator only.
- Version:
- $Id: RoutingTableTest.java,v 1.16 2004/02/13 04:28:01 srhea Exp $
- Author:
- Sean C. Rhea
| Methods inherited from class bamboo.util.StandardStage |
BUG, BUG, BUG, config_get_boolean, config_get_double, config_get_int, config_get_string, configGetInt, destroy, dispatch, enqueue, handleEvents, lookup_stage, now_ms, timer_ms |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
app_id
protected static final long app_id
all_nodes
protected static Set all_nodes
guid_to_stage
protected static Map guid_to_stage
GUID_DIGITS
protected int GUID_DIGITS
DIGIT_VALUES
protected int DIGIT_VALUES
MODULUS
protected BigInteger MODULUS
rt_set
protected Set rt_set
my_ni
protected NeighborInfo my_ni
network
protected soss.network.Network network
leaf_set
protected Set leaf_set
output_prefix
protected String output_prefix
check_period
protected int check_period
check_number
protected int check_number
last_find_owner
protected long last_find_owner
rand
protected Random rand
RoutingTableTest
public RoutingTableTest()
throws Exception
- Throws:
Exception
init
public void init(ConfigDataIF config)
throws Exception
- Specified by:
init in interface EventHandlerIF- Overrides:
init in class StandardStage
- Throws:
Exception
do_find_owner
public void do_find_owner()
handleEvent
public void handleEvent(QueueElementIF item)
- Specified by:
handleEvent in interface EventHandlerIF- Overrides:
handleEvent in class StandardStage