Package org.eclipse.jgit.storage.dht

Examples of org.eclipse.jgit.storage.dht.ObjectInfo


      CachedObjectIndex cacheEntry = CachedObjectIndex.parseFrom(value);
      int sz = cacheEntry.getItemCount();
      ObjectInfo[] r = new ObjectInfo[sz];
      for (int i = 0; i < sz; i++) {
        CachedObjectIndex.Item item = cacheEntry.getItem(i);
        r[i] = new ObjectInfo(
            ChunkKey.fromString(item.getChunkKey()),
            item.getTime(),
            item.getObjectInfo());
      }
      return Arrays.asList(r);
View Full Code Here


          out.put(objId, chunks);
        }

        chunkKey = ChunkKey.fromBytes(colInfo.suffix(cell.getName()));
        try {
          chunks.add(new ObjectInfo(
              chunkKey,
              cell.getTimestamp(),
              GitStore.ObjectInfo.parseFrom(cell.getValue())));
        } catch (InvalidProtocolBufferException badCell) {
          callback.onFailure(new DhtException(MessageFormat.format(
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.storage.dht.ObjectInfo

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.