public static class PackWriter.Statistics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PackWriter.Statistics.ObjectType
Statistics about a single class of object.
|
Constructor and Description |
---|
PackWriter.Statistics() |
Modifier and Type | Method and Description |
---|---|
PackWriter.Statistics.ObjectType |
byObjectType(int typeCode) |
int |
getDeltaSearchNonEdgeObjects() |
int |
getDeltasFound() |
int |
getDepth() |
Set<ObjectId> |
getInterestingObjects() |
String |
getMessage() |
long |
getReusedDeltas() |
long |
getReusedObjects() |
Collection<CachedPack> |
getReusedPacks() |
long |
getThinPackBytes() |
long |
getTimeCompressing() |
long |
getTimeCounting() |
long |
getTimeSearchingForReuse() |
long |
getTimeSearchingForSizes() |
long |
getTimeTotal() |
long |
getTimeWriting() |
long |
getTotalBytes() |
long |
getTotalDeltas() |
long |
getTotalObjects() |
double |
getTransferRate() |
Set<ObjectId> |
getUninterestingObjects() |
boolean |
isShallow() |
public Set<ObjectId> getInterestingObjects()
public Set<ObjectId> getUninterestingObjects()
public Collection<CachedPack> getReusedPacks()
public int getDeltaSearchNonEdgeObjects()
public int getDeltasFound()
getDeltaSearchNonEdgeObjects()
.public long getTotalObjects()
getTotalDeltas()
.public long getTotalDeltas()
public long getReusedObjects()
getReusedDeltas()
.public long getReusedDeltas()
public long getTotalBytes()
public long getThinPackBytes()
public PackWriter.Statistics.ObjectType byObjectType(int typeCode)
typeCode
- object type code, e.g. OBJ_COMMIT or OBJ_TREE.public boolean isShallow()
public int getDepth()
public long getTimeCounting()
public long getTimeSearchingForReuse()
public long getTimeSearchingForSizes()
public long getTimeCompressing()
public long getTimeWriting()
getTotalBytes()
by this
value.public long getTimeTotal()
public double getTransferRate()
getTotalBytes() / (getTimeWriting() / 1000.0)
.public String getMessage()
Copyright © 2015. All rights reserved.