code: public RemotablePartitionEntity updateRemotablePartitionOnRecovery(PersistenceServiceUnit psu,
                                                                         final RemotablePartitionEntity partition) {
          // TODO Auto-generated method stub
          EntityManager em = psu.createEntityManager();
          try {
              return new TranRequest<RemotablePartitionEntity>(em) {
                  @Override
                  public RemotablePartitionEntity call() {
                      RemotablePartitionKey key = new RemotablePartitionKey(partition);
                      RemotablePartitionEntity remotablePartition = entityMgr.find(RemotablePartitionEntity.class, key);
                      remotablePartition.setLastUpdated(new Date());
                      return remotablePartition;
                  }
              }.runInNewOrExistingGlobalTran();
          } finally {
              em.close();
          }
      }
docs: This method is called during recovery
  
  Set the lastUpdated for the given RemotablePartitionEntity