bamboo.router
Class LookupTest
java.lang.Object
bamboo.util.StandardStage
bamboo.router.LookupTest
- All Implemented Interfaces:
- EventHandlerIF, SingleThreadedEventHandlerIF
public class LookupTest
- extends StandardStage
- implements SingleThreadedEventHandlerIF
| 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, handleEvent, 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 |
router
protected Router router
rand
protected Random rand
mean_period_ms
protected double mean_period_ms
ready_cb
public ASyncCore.TimerCB ready_cb
next_op_cb
public ASyncCore.TimerCB next_op_cb
lookup_cb
public Router.LookupCb lookup_cb
LookupTest
public LookupTest()
random_exponential
protected static double random_exponential(double mean,
Random rand)
init
public void init(ConfigDataIF config)
throws Exception
- Specified by:
init in interface EventHandlerIF- Overrides:
init in class StandardStage
- Throws:
Exception
next_op
public void next_op()