Package com.google.walkaround.proto

Examples of com.google.walkaround.proto.ImportMetadata


          convId, metadata);
      if (metadata.getImportMetadata().getImportFinished()) {
        log.info(convId + ": already unlocked");
        return false;
      }
      ImportMetadata importMetadata = metadata.getImportMetadata();
      importMetadata.setImportFinished(true);
      metadata.setImportMetadata(importMetadata);
      log.info(convId + ": unlocking");
      convMetadataStore.put(tx, convId, metadata);
      return true;
    }
View Full Code Here


        }
      }
      log.info("participantFixup=" + participantFixup);
      boolean preserveHistory = !task.getSettings().getSynthesizeHistory();
      log.info("preserveHistory=" + preserveHistory);
      ImportMetadata importMetadata = new ImportMetadataGsonImpl();
      importMetadata.setImportBeginTimeMillis(System.currentTimeMillis());
      importMetadata.setImportFinished(false);
      importMetadata.setOriginalImporter(userId.getId());
      importMetadata.setSourceInstance(instance.serialize());
      importMetadata.setRemoteWaveId(waveletName.waveId.serialise());
      importMetadata.setRemoteWaveletId(waveletName.waveletId.serialise());
      importMetadata.setRemoteHistoryCopied(preserveHistory);
      importMetadata.setRemoteVersionImported(snapshot.getFirst().getVersion());
      ConvMetadataGsonImpl convMetadata = new ConvMetadataGsonImpl();
      convMetadata.setImportMetadata(importMetadata);
      final SlobId newId;
      if (!preserveHistory) {
        List<WaveletOperation> history = Lists.newArrayList();
View Full Code Here

TOP

Related Classes of com.google.walkaround.proto.ImportMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.