static void removeTarget(ActorRef latencyMonitor, ActorRef target, ActorContext context) { latencyMonitor.tell(new Target(target, null, false), context.self()); }
static void done(ActorRef latencyMonitor, ActorContext context) { latencyMonitor.tell(Msg.DONE, context.self()); }
static void addTarget( ActorRef latencyMonitor, ActorRef target, ActorRef port, ActorContext context) { latencyMonitor.tell(new Target(target, port, true), context.self()); }