code: @Override
      public void register(final InstanceInfo info, final boolean isReplication) {
          int leaseDuration = Lease.DEFAULT_DURATION_IN_SECS;
          if (info.getLeaseInfo() != null && info.getLeaseInfo().getDurationInSecs() > 0) {
              leaseDuration = info.getLeaseInfo().getDurationInSecs();
          }
          super.register(info, leaseDuration, isReplication);
          replicateToPeers(Action.Register, info.getAppName(), info.getId(), info, null, isReplication);
      }
docs: Registers the information about the {@link InstanceInfo} and replicates
  this information to all peer eureka nodes. If this is replication event
  from other replica nodes then it is not replicated.
  
  @param info
  the {@link InstanceInfo} to be registered and replicated.
  @param isReplication
  true if this is a replication event from other replica nodes,
  false otherwise.