Esempio n. 1
0
 public void finish() {
   synchronized (monitorAgent) {
     monitorAgent.finish();
   }
   senderReceiver.sendAsync(
       new Message(Type.DEREG, location, PhysicalLocation.coordinatorLocation(), null));
   senderReceiver.shutdown();
 }
Esempio n. 2
0
 private Message createRegistrationMessage() {
   Tuple body = new DefaultTuple();
   return new Message(
       Message.Type.REG, logicalLocation, PhysicalLocation.coordinatorLocation(), body);
 }