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