org.eclipse.jgit.storage.dht
Class DhtCachedPack

java.lang.Object
  extended by org.eclipse.jgit.storage.pack.CachedPack
      extended by org.eclipse.jgit.storage.dht.DhtCachedPack

public class DhtCachedPack
extends CachedPack

A cached pack stored by the DHT.


Method Summary
 GitStore.CachedPackInfo getCachedPackInfo()
           
 long getDeltaCount()
           
 long getObjectCount()
           
 java.util.Set<ObjectId> getTips()
           
 boolean hasObject(ObjectToPack obj, StoredObjectRepresentation rep)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTips

public java.util.Set<ObjectId> getTips()
Specified by:
getTips in class CachedPack

getObjectCount

public long getObjectCount()
Specified by:
getObjectCount in class CachedPack

getDeltaCount

public long getDeltaCount()
                   throws java.io.IOException
Overrides:
getDeltaCount in class CachedPack
Throws:
java.io.IOException

getCachedPackInfo

public GitStore.CachedPackInfo getCachedPackInfo()
Returns:
information describing this cached pack.

hasObject

public boolean hasObject(ObjectToPack obj,
                         StoredObjectRepresentation rep)
Specified by:
hasObject in class CachedPack


Copyright © 2011. All Rights Reserved.