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