コード例 #1
0
 public void connectionRemoved(Connection connection) {
   logger.log(Level.FINEST, "Connection is removed " + connection.getEndPoint());
   if (!node.joined()) {
     if (getMasterAddress() != null) {
       if (getMasterAddress().equals(connection.getEndPoint())) {
         node.setMasterAddress(null);
       }
     }
   }
 }